Adding high-level error handler.