Link Search Menu Expand Document

Constructor: error

Back to constructors index

Error.

Attributes:

NameTypeRequiredDescription
codeintYesError code
textstringYesMessage

Type: Error

Example:

$error = ['_' => 'error', 'code' => int, 'text' => 'string'];