Property | Type | Description | |
---|---|---|---|
$code | |||
$message | |||
$originalMessage |
Method | Description | |
---|---|---|
__construct ( $code, $message, $originalMessage = null ) | ||
forException ( Exception $exception ) | ||
getByCode ( $code, $params = [], $prefix = 'errors.' ) | ||
getCode ( ) | ||
getMessage ( ) | ||
toArray ( ) |
Method | Description | |
---|---|---|
_classNameAndMessage ( Exception $exception ) |
public static forException ( Exception $exception ) | ||
$exception | Exception |
public static getByCode ( $code, $params = [], $prefix = 'errors.' ) |