Crow  1.1
A C++ microframework for the web
 
Loading...
Searching...
No Matches
exceptions.h
1#pragma once
2#include <stdexcept>
3
4namespace crow
5{
6 struct bad_request : public std::runtime_error
7 {
8 bad_request(const std::string& what_arg)
9 : std::runtime_error(what_arg) {}
10
11 bad_request(const char* what_arg)
12 : std::runtime_error(what_arg) {}
13 };
14}
The main namespace of the library. In this namespace is defined the most important classes and functi...
Definition exceptions.h:7