try. Intercepting and handling errors
|
$exception.type
|
string, error type.
There is a number of system error types; a type can also be defined in operator throw. |
$exception.source
|
string, error source (wrong filename, method's name, …)
|
$exception.file
$exception.lineno $exception.colno |
file containing source, line and column numbers in it
|
$exception.comment
|
error comment, in English
|
$exception.handled
|
true or false, flag "if error has been handled"
you will need to set the flag in the handler if you have handled the received error |
Copyright © 19972021 Art. Lebedev Studio | http://www.artlebedev.com | Last updated: 24.06.2012 |