fkin finally

This commit is contained in:
2025-08-21 23:23:14 +01:00
parent 217adf91e9
commit 6360b41e9a
10 changed files with 112 additions and 254 deletions

15
include/errors.hpp Normal file
View File

@@ -0,0 +1,15 @@
#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