require catch_errors