Errorable
Table of Contents
Methods
- getErrorByCode() : Error
- Getting once error with the necessary code.
- getErrors() : array<string|int, Error>
- Getting array of errors.
Methods
getErrorByCode()
Getting once error with the necessary code.
public
getErrorByCode(string $code) : Error
Parameters
- $code : string
-
Code of error.
Return values
ErrorgetErrors()
Getting array of errors.
public
getErrors() : array<string|int, Error>