Skip to main content

Zymba Documentation

Exception

object @Exception(@Base) {
construct(string $message) {}
countTraces(): int {}
getInitialTrace(): object {}
getMessage(): string {}
getSummary(): string {}
getTracesAsString(): string {}
listTraces(): object {}
toString(): string {}
}

Exception prototype.

Prototype

Base

Methods

$this.construct(string $message): void
Parameters
NameTypeValueDefault
messagestring""
$this.countTraces(): int
Returns
TypeValue
int
$this.getInitialTrace(): object
Returns
TypeValue
object["filename": ..., "line": ..., "site": ..., "function": ..., "params": ...]
null
$this.getMessage(): string
Returns
TypeValue
string
$this.getSummary(): string
Returns
TypeValue
string
$this.getTracesAsString(): string
Returns
TypeValue
string
$this.listTraces(): object
Returns
TypeValue
object[["filename": ..., "line": ..., "site": ..., "function": ..., "params": ...], ...]
$this.toString(): string
Returns
TypeValue
string