Specs for the error handler.