Свойство | Тип | Описание | |
---|---|---|---|
$raw_msg | string | Raw error message (in English). |
Метод | Описание | |
---|---|---|
__construct ( string $message = null, code $code = null ) | Constructor. | |
messagePrintf ( array $args = [] ) | Perform substitution of variables in the error message. | |
setCode ( integer $code ) | Allow the error code to be altered. | |
setMessage ( string $msg ) | Allow the error message to be altered. |
public __construct ( string $message = null, code $code = null ) | ||
$message | string | Error message (non-translated). |
$code | code | Error code. |
public messagePrintf ( array $args = [] ) | ||
$args | array | Arguments used for substitution. |
public setMessage ( string $msg ) | ||
$msg | string | Error message. |