Add dedicated error handlers.