alcjzk / Webserv

0 stars 0 forks source link

Implementing ErrorResponse building #18

Closed lsileoni closed 6 months ago

lsileoni commented 7 months ago

While the configuration file currently provides means to map an error code to a path, the server doesn't provide default files for errors in case they don't exist.

The idea is to build an ErrorResponse class, either with templating or some basic sstream construction logic.