0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-17 23:40:57 +01:00

ircd:Ⓜ️ Add an access denied general exception.

This commit is contained in:
Jason Volk 2017-12-12 13:19:32 -07:00
parent 6b287f958c
commit 2692a22f62

View file

@ -102,6 +102,7 @@ namespace ircd::m
IRCD_M_EXCEPTION(error, BAD_REQUEST, http::BAD_REQUEST); IRCD_M_EXCEPTION(error, BAD_REQUEST, http::BAD_REQUEST);
IRCD_M_EXCEPTION(BAD_REQUEST, BAD_JSON, http::BAD_REQUEST); IRCD_M_EXCEPTION(BAD_REQUEST, BAD_JSON, http::BAD_REQUEST);
IRCD_M_EXCEPTION(error, BAD_SIGNATURE, http::UNAUTHORIZED); IRCD_M_EXCEPTION(error, BAD_SIGNATURE, http::UNAUTHORIZED);
IRCD_M_EXCEPTION(error, ACCESS_DENIED, http::UNAUTHORIZED);
} }
template<class... args> template<class... args>