-
Notifications
You must be signed in to change notification settings - Fork 12
ST::unicode_error
Michael Hansen edited this page Jan 6, 2018
·
2 revisions
#include <string_theory/exceptions>
Name | Summary |
---|---|
(constructor) | ST::unicode_error constructor |
The ST::unicode_error
exception is thrown when an error occurs during string
data conversions when using the ST::check_validity
validation option. This exception can be caught to report invalid data to
the user, or retry the conversion from Latin-1, for example.
Signature |
---|
explicit unicode_error(const char *message) noexcept |
Sets the exception message (returned by what()
) to message
.