extends |
Exception |
|---|---|
implements |
SelfDescribing |
uses |
WarnDynamicPropertyTrait |
Base exception of all Agile Toolkit exceptions.
| Methods | ||
|---|---|---|
public
|
__construct(string $message = '', int $code = 0, Throwable $previous = null)
|
# |
public
|
setMessage(string $message): $this
|
# |
public
|
toString(): string
|
# |
public
|
getColorfulText(): string
|
# |
public
|
getHtml(): string
|
# |
public
|
getJson(): string
|
# |
public
|
getParams(): array<string, mixed>
|
# |
public
|
addMoreInfo(string $param, mixed $value): $this
|
# |
public
|
addSolution(string $solution): $this
|
# |
public
|
getSolutions(): array<int, string>
|
# |
public
|
getCustomExceptionTitle(): string
|
# |
public
|
setTranslatorAdapter(ITranslatorAdapter $translator = null): $this
|
# |
| Methods inherited from Exception |
|---|
__wakeup(), getMessage(), getCode(), getFile(), getLine(), getTrace(), getPrevious(), getTraceAsString(), __toString() |
| Methods used from Atk4\Core\WarnDynamicPropertyTrait |
|---|
warnPropertyDoesNotExist(), __isset(), __get(), __set(), __unset() |
| Properties | |||
|---|---|---|---|
protected
|
string
|
$customExceptionTitle = 'Critical Error'
|
# |
private
|
array<string, mixed>
|
$params = []
|
# |
private
|
array<int, string>
|
$solutions = []
|
# |
private
|
ITranslatorAdapter
|
$translator
|
# |