Skip to content

Model Object

errorsOnBase()

errorsOnBase() — returns array

Available in: model Category: Error Functions

Returns an array of all errors associated with the object as a whole (not related to any specific property).

NameTypeRequiredDefaultDescription
namestringnoSpecify an error name here to only return errors for that error name.
// Get all general type errors for the user object
errors = user.errorsOnBase();