Allow custom exception handlers