A function that checks if an error should be reported as unhandled.
Error to be checked.
A boolean indicating if the error should be reported.
A function that checks if an error should be reported as unhandled.