Method | Description | |
---|---|---|
forException ( Exception $exception ) : static | Creates a new exception. |
public static forException ( Exception $exception ) : static | ||
$exception | Exception | The exception that caused this exception. |
return | static | The new exception. |