Added regions to error handler.