Public Member Functions | |
JError ($code, $msg, $type=JERROR_DEFAULT, $extra=null) | |
GetCode () | |
GetMessage () | |
GetType () | |
GetExtraInfo () | |
ToString () | |
Public Attributes | |
$code | |
The concrete error code. | |
$msg | |
A string describing the error. | |
$type | |
The type of the error. | |
$extra | |
Extra info associated to the error. |
When an error happened, an object of this class should be returned. This allows that the caller function is able to do a more powerful treatment of the error.
Definition at line 16 of file JError.class.php.
|
The constructor. It just initializes the attributes whith the parameters. Definition at line 28 of file JError.class.php. |
|
Gets the error code.
Definition at line 40 of file JError.class.php. |
|
Gets the error extra info.
Definition at line 67 of file JError.class.php. |
|
Gets the error message.
Definition at line 49 of file JError.class.php. |
|
Gets the error type.
Definition at line 58 of file JError.class.php. |
|
Gets a string describing the error
Definition at line 76 of file JError.class.php. References $msg. |
|
The concrete error code.
Definition at line 18 of file JError.class.php. Referenced by JSystemError::_GetMessage(), and JError(). |
|
Extra info associated to the error.
Definition at line 21 of file JError.class.php. Referenced by JError(). |
|
A string describing the error.
Definition at line 19 of file JError.class.php. Referenced by JSystemError::_GetMessage(), JError(), JSystemError::JSystemError(), and ToString(). |
|
The type of the error.
Definition at line 20 of file JError.class.php. Referenced by JError(). |