프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$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. |