# ThrowableHandlerInterface

Chevere\Interfaces\ThrowableHandler\ThrowableHandlerInterface

view source (opens new window)

# Description

Describes the component in charge of handling throwables.

# Methods

# __construct

Parameters


# withIsDebug

Return an instance with the specified $debug flag.

Parameters

  • isDebug: bool

Return

self

This method MUST retain the state of the current instance, and return an instance that contains the specified $debug flag.


# isDebug

Indicates whether the instance has debug=true.

Return

bool


# dateTimeUtc

Provides access to the date time UTC.


# throwableRead

Provides access to the $throwableRead instance.


# id

Provides access to the handler unique id.

Return

string


Last Updated: 5/1/2021, 2:31:10 PM