Skip to content

Miscellaneous

errorsOnBase()

errorsOnBase() — returns any

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

NameTypeRequiredDefaultDescription
namestringyesSpecify an error name here to only return errors for that error name.
errorsOnBase([ name ]) <!--- Get all general type errors for the user object --->
<cfset errors = user.errorsOnBase()>