Miscellaneous
errorsOnBase()
Signature
Section titled “Signature”errorsOnBase() — returns any
Description
Section titled “Description”Returns an array of all errors associated with the object as a whole (not related to any specific property).
Parameters
Section titled “Parameters”| Name | Type | Required | Default | Description |
|---|---|---|---|---|
name | string | yes | — | Specify an error name here to only return errors for that error name. |
Examples
Section titled “Examples”errorsOnBase([ name ]) <!--- Get all general type errors for the user object ---> <cfset errors = user.errorsOnBase()>