#ifndef ERRORS_HPP #define ERRORS_HPP #include #include "templating.hpp" extern Templating templating; struct CustomErrorHandler { struct context {}; void before_handle(crow::request& req, crow::response& res, context&) {} void after_handle(crow::request& req, crow::response& res, context&); }; #endif