ThrowUpException
extends Exception
in package
implements
Exception
A throw-up exception, used for throwing an exception out of the Psy Shell.
Interfaces, Classes and Traits
- Exception
- An interface for Psy Exceptions.
Table of Contents
- __construct() : mixed
- {@inheritdoc}
- fromThrowable() : ThrowUpException
- Create a ThrowUpException from a Throwable.
- getRawMessage() : string
- Return a raw (unformatted) version of the error message.
Methods
__construct()
{@inheritdoc}
public
__construct(Exception $exception) : mixed
Parameters
- $exception : Exception
Return values
mixed —fromThrowable()
Create a ThrowUpException from a Throwable.
public
static fromThrowable(Throwable $throwable) : ThrowUpException
Parameters
- $throwable : Throwable
Return values
ThrowUpException —getRawMessage()
Return a raw (unformatted) version of the error message.
public
getRawMessage() : string