Method | Description | |
---|---|---|
__construct ( Exception $exception ) | Sets up the custom exception and copies over original exception values. | |
getBody ( ) : array | Returns the body. |
public __construct ( Exception $exception ) | ||
$exception | Exception | - the exception to be wrapped |