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:
parent
6b287f958c
commit
2692a22f62
1 changed files with 1 additions and 0 deletions
|
@ -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>
|
||||||
|
|
Loading…
Reference in a new issue