Свойство | Type | Description | |
---|---|---|---|
$code | |||
$message | |||
$originalMessage |
Méthode | Description | |
---|---|---|
__construct ( $code, $message, $originalMessage = null ) | ||
forException ( Exception $exception ) | ||
getByCode ( $code, $params = [], $prefix = 'errors.' ) | ||
getCode ( ) | ||
getMessage ( ) | ||
toArray ( ) |
Méthode | Description | |
---|---|---|
_classNameAndMessage ( Exception $exception ) |
public static forException ( Exception $exception ) | ||
$exception | Exception |
public static getByCode ( $code, $params = [], $prefix = 'errors.' ) |