Method throw()
- Method throw
mixed
|void
throw(mixed
value
)- Description
Throw
value
to a waitingcatch
.If no
catch
is waiting the global error handling will send the value tomaster()->handle_error()
.If you throw an array with where the first index contains an error message and the second index is a backtrace, (the output from backtrace()) then it will be treated exactly like a real error by overlying functions.
- See also
catch