Skip to content

Commit 8bc12da

Browse files
committed
feat: exception route handlers
1 parent 4233c34 commit 8bc12da

File tree

11 files changed

+406
-137
lines changed

11 files changed

+406
-137
lines changed

.github/workflows/ci-failure-auto-fix.yml

Lines changed: 0 additions & 97 deletions
This file was deleted.

include/boost/http_proto/detail/type_traits.hpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ namespace boost {
1717
namespace http_proto {
1818
namespace detail {
1919

20+
template<class...> struct make_void { typedef void type; };
21+
template<class... Ts> using void_t = typename make_void<Ts...>::type;
22+
2023
template<class T>
2124
struct remove_cvref
2225
{

include/boost/http_proto/error.hpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,11 @@ enum class error
197197

198198
/** A dynamic buffer's maximum size would be exceeded.
199199
*/
200-
buffer_overflow
200+
buffer_overflow,
201+
202+
/** An unhandled exception occurred while routing a request
203+
*/
204+
unhandled_exception
201205
};
202206

203207
// VFALCO we need a bad_message condition?

0 commit comments

Comments
 (0)