If an error handler is inserted into the context, automatically insert an error catcher.