You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The handling of catchable fatal errors (E_RECOVERABLE_ERROR) completely depends on debug mode. If it is enabled, the error is reported as debug message (Unknown error type: …,), but the script continues; if it is disabled the error terminates the script.
The text was updated successfully, but these errors were encountered:
We are not convinced that ignoring recoverable (formerly called
catchable) errors (`E_RECOVERABLE_ERROR`) is a good idea, generally.
Furthermore, to do so would require a general error handler (opposed to
our long standing debug mode handler). Therefore we decide to treat
recoverable errors just like user errors (E_USER_ERROR), i.e. to bail
out whenever they occur.
We changing the call to `die()` to `XH_exit()` to be able to mock the
function in a respective test.
The handling of catchable fatal errors (
E_RECOVERABLE_ERROR
) completely depends on debug mode. If it is enabled, the error is reported as debug message (Unknown error type: …,), but the script continues; if it is disabled the error terminates the script.The text was updated successfully, but these errors were encountered: