Constructor: error

Back to constructors index

Error

Attributes:

Name Type Required Description
code int Yes Code
text string Yes Text

Type: Error

Example:

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

Or, if you’re into Lua:

error={_='error', code=int, text='string'}

This site uses cookies, as described in the cookie policy. By clicking on "Accept" you consent to the use of cookies.