#96311Simplify and clarify code that decides which error should be handled
Description
The code in ErrorHandler that decides which errors should be handled became a bit convoluted and can be simplified
The code in ErrorHandler that decides which errors should be handled became a bit convoluted and can be simplified