lintel 0.2.0
Loading...
Searching...
No Matches
HttpBadRequestException.h
Go to the documentation of this file.
1#ifndef LINTEL_HTTPBADREQUESTEXCEPTION_H
2#define LINTEL_HTTPBADREQUESTEXCEPTION_H
3
4#include <exception>
5
6namespace lintel {
8class HttpBadRequestException : public std::exception
9{
10public:
12
13 [[nodiscard]] const char *what() const noexcept override { return "Invalid request body"; }
14};
15
16}// namespace lintel
17#endif// LINTEL_HTTPBADREQUESTEXCEPTION_H
Definition HttpBadRequestException.h:9
const char * what() const noexcept override
Definition HttpBadRequestException.h:13
Definition BaseFeature.h:6
constexpr std::string_view type_name()
Definition TypeName.h:9