0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-06-11 06:28:55 +02:00

ircd::fmt: Use trapping exceptions for developer error types.

This commit is contained in:
Jason Volk 2020-12-17 20:23:09 -08:00
parent 34e1dc99a1
commit 253de07229

View file

@ -15,9 +15,9 @@
namespace ircd::fmt
{
IRCD_EXCEPTION(ircd::error, error);
IRCD_EXCEPTION(error, invalid_format);
IRCD_EXCEPTION(error, invalid_type);
IRCD_EXCEPTION(error, illegal);
IRCD_PANICKING(error, invalid_format);
IRCD_PANICKING(error, invalid_type);
IRCD_PANICKING(error, illegal);
struct sprintf;
struct vsprintf;