Error/Factory.php
\Conjoon_Error_Factory
Package: Conjoon\Error
A static class for creating Conjoon_Error-objects.
- Author
- Thorsten Suckow-Homberg
- Category
- Error
Methods

createError(
string $message
=
"[no message]", string $level
=
null, $type
=
null, string $code
=
null, string $file
=
null, string $line
=
null
)
:
\Conjoon_Error
static
Creates a Conjoon_Error object based on the passed arguments and return the error object.
Parameters
Returns
| Name | Type | Description |
|---|---|---|
| $message | string | |
| $level | string | |
| $type | ||
| $code | string | |
| $file | string | |
| $line | string |
| Type | Description |
|---|---|
| \Conjoon_Error |