ErrorCodes
in package
Represents a list of error codes.
Table of Contents
Constants
- UnknownProperty = 1
- Error code for unknown property.
Methods
- ToString() : string|null
- Returns the textual representation of an error based on its code.
Constants
UnknownProperty
Error code for unknown property.
public
mixed
UnknownProperty
= 1
Methods
ToString()
Returns the textual representation of an error based on its code.
public
static ToString(int $code) : string|null
Parameters
- $code : int
-
The error code.
Return values
string|null —The textual representation of the error.