15 lines
327 B
C++
15 lines
327 B
C++
#ifndef ERRORS_HPP
|
|
#define ERRORS_HPP
|
|
|
|
#include <crow.h>
|
|
#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 |