Finalized custom error handler.