You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This can be accomplished by defining a custom formatter for std::exception, but as fmt already provides formatters for many/most types from the standard library, support for std::exception should be part of it.
The text was updated successfully, but these errors were encountered:
Exceptions are not supported, as they are not formattable:
https://godbolt.org/z/ejTMEYr3b
In practice, the expected/desired behavior would be to print the error message.
Ie if they would behave as-if
This can be accomplished by defining a custom formatter for
std::exception
, but asfmt
already provides formatters for many/most types from the standard library, support for std::exception should be part of it.The text was updated successfully, but these errors were encountered: