|
static | create (int $errorcode, string $errormessage, string $errorsource='upstream') |
| Create an error object based on the error code.
|
|
◆ create()
static core_ai\error\factory::create |
( |
int | $errorcode, |
|
|
string | $errormessage, |
|
|
string | $errorsource = 'upstream' ) |
|
static |
Create an error object based on the error code.
- Parameters
-
int | $errorcode | The error code. |
string | $errormessage | The error message. |
string | $errorsource | The error source. |
- Return values
-
- Exceptions
-
The documentation for this class was generated from the following file:
- ai/classes/error/factory.php