final class ExceptionThrower

Wrapper for passing exceptions through channels.

Since exceptions cannot be pushed directly to channels, this class wraps a Throwable so it can be passed through and re-thrown later.

Methods

__construct(Throwable $throwable)

No description

getThrowable()

Get the wrapped throwable.

Details

at line 17
__construct(Throwable $throwable)

No description

Parameters

Throwable $throwable

at line 25
Throwable getThrowable()

Get the wrapped throwable.

Return Value

Throwable