\Orpheus\ExceptionUserException

The user exception class

This exception is thrown when an occured caused by the user.

Summary

Methods
Properties
Constants
__construct()
getDomain()
setDomain()
getReport()
getText()
__toString()
No public properties found
No constants found
No protected methods found
$domain
N/A
No private methods found
No private properties found
N/A

Properties

$domain

$domain : string

The translation domain

Type

string

Methods

__construct()

__construct(string  $message = null, string  $domain = null, string  $code, \Orpheus\Exception\Throwable  $previous = null) 

Constructor

Parameters

string $message

The exception message

string $domain

The domain for the message, optionnal, allow $code

string $code

The code of the exception

\Orpheus\Exception\Throwable $previous

The previous exception

getDomain()

getDomain() : string

Get the domain

Returns

string

setDomain()

setDomain(string  $domain) 

Set the domain

Parameters

string $domain

The new domain

getReport()

getReport() : string

Get the report from this exception

Returns

string —

The report

getText()

getText() : string

Get the user's message

Returns

string —

The translated message from this exception

__toString()

__toString() : string

Get the string representation of this exception

Returns

string