Constructor
catcher
__construct
([bool $exceptions = true], [bool $errors = true], [bool $dieonfatal = true], [bool $recovery = false], [ $dieonunknown = true], bool $dieonunknown;)
-
bool
$exceptions
-
bool
$errors
-
bool
$dieonfatal
-
bool
$recovery
-
bool
$dieonunknown;
-
$dieonunknown
Destructor
void
__destruct
()
Catch an error.
void
catcherror
(int $errornr, string $errortext, string $errorfile, int $errorline, array $errorcontext)
-
int
$errornr
-
string
$errortext
-
string
$errorfile
-
int
$errorline
-
array
$errorcontext
Catch an exception.
void
catchexception
(Exception $exception)
Get the last error.
array
getlasterror
()
Get the last exception.
array
getlastexception
()
Set backtrace-parameters.
void
setbacktrace
(bool $backtrace)
Set log-parameters.
void
setlogfile
(mixed $logfile)
Set mail-parameters.
void
setmail
(mixed $mailto, mixed $mailfrom, mixed $mailsubject)
-
mixed
$mailto
-
mixed
$mailfrom
-
mixed
$mailsubject
Set output-parameters.
void
setoutput
(bool $output, [bool $outputhtml = true])
-
bool
$output
-
bool
$outputhtml