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 default exception level map includes class "Throwable" and essentially combines the passed level map to method registerExceptionHandler with the default. This might otherwise work, but, the problem is Throwable. So, in this case, I wanted to override TypeError and make it critical. The array_replace adds the TypeError to the end of the list. The problem with that is Throwable matches TypeError or any other error type as far as I can tell. So, it never gets to the override since it's after Throwable in the array. Therefore, registerExceptionHandler is of no use as is.
The text was updated successfully, but these errors were encountered:
The default exception level map includes class "Throwable" and essentially combines the passed level map to method registerExceptionHandler with the default. This might otherwise work, but, the problem is Throwable. So, in this case, I wanted to override TypeError and make it critical. The array_replace adds the TypeError to the end of the list. The problem with that is Throwable matches TypeError or any other error type as far as I can tell. So, it never gets to the override since it's after Throwable in the array. Therefore, registerExceptionHandler is of no use as is.
The text was updated successfully, but these errors were encountered: