Kurlyk
Loading...
Searching...
No Matches
kurlyk::utils::HttpErrorCategory Class Reference

Custom error category that maps HTTP status codes (e.g., 404, 500) to human-readable error messages. More...

#include <HttpErrorCategory.hpp>

Inheritance diagram for kurlyk::utils::HttpErrorCategory:

Public Member Functions

const char * name () const noexcept override
 
std::string message (int ev) const override
 

Detailed Description

Custom error category that maps HTTP status codes (e.g., 404, 500) to human-readable error messages.

Definition at line 12 of file HttpErrorCategory.hpp.

Member Function Documentation

◆ message()

std::string kurlyk::utils::HttpErrorCategory::message ( int ev) const
inlineoverride

Definition at line 18 of file HttpErrorCategory.hpp.

◆ name()

const char * kurlyk::utils::HttpErrorCategory::name ( ) const
inlineoverridenoexcept

Definition at line 14 of file HttpErrorCategory.hpp.


The documentation for this class was generated from the following file: