class UserMessageException extends Exception implements JsonSerializable (View source)

Represents an error that can be safely shown to users.

Properties

protected bool $canBeLogged Can this exception be added to the log?

Methods

bool
canBeLogged()

Can this exception be added to the log?

$this
setCanBeLogged(bool $value)

Can this exception be added to the log?

jsonSerialize()

{@inheritdoc}

Details

bool canBeLogged()

Can this exception be added to the log?

Return Value

bool

$this setCanBeLogged(bool $value)

Can this exception be added to the log?

Parameters

bool $value

Return Value

$this

jsonSerialize()

{@inheritdoc}

See also

JsonSerializable::jsonSerialize()