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

ircd:Ⓜ️ Add a 503 UNAVAILABLE wrapping.

This commit is contained in:
Jason Volk 2018-02-22 19:31:15 -08:00
parent 33788e66f2
commit c6365fc609

View file

@ -99,6 +99,7 @@ namespace ircd::m
IRCD_M_EXCEPTION(error, NOT_FOUND, http::NOT_FOUND); IRCD_M_EXCEPTION(error, NOT_FOUND, http::NOT_FOUND);
IRCD_M_EXCEPTION(error, UNSUPPORTED, http::NOT_IMPLEMENTED); IRCD_M_EXCEPTION(error, UNSUPPORTED, http::NOT_IMPLEMENTED);
IRCD_M_EXCEPTION(error, NEED_MORE_PARAMS, http::MULTIPLE_CHOICES); IRCD_M_EXCEPTION(error, NEED_MORE_PARAMS, http::MULTIPLE_CHOICES);
IRCD_M_EXCEPTION(error, UNAVAILABLE, http::SERVICE_UNAVAILABLE);
} }
template<class... args> template<class... args>