abstract class BaseException extends Exception

BaseException

Properties

protected array $context

Exception Context

Methods

__construct(string $message = '', int $code = 0, Throwable $previous = null)

BaseException constructor.

setContext(array $context = [])

No description

array
context()

No description

Details

at line 29
__construct(string $message = '', int $code = 0, Throwable $previous = null)

BaseException constructor.

Parameters

string $message message
int $code code
Throwable $previous previous

at line 40
BaseException setContext(array $context = [])

No description

Parameters

array $context

Return Value

BaseException

at line 46
array context()

No description

Return Value

array