Skip to content

ST::unicode_error

Michael Hansen edited this page Jan 6, 2018 · 2 revisions

ST::unicode_error

Headers

#include <string_theory/exceptions>

Inherits

Public Functions

Name Summary
(constructor) ST::unicode_error constructor

Details

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.

Member Documentation

ST::unicode_error constructor

Signature
explicit unicode_error(const char *message) noexcept

Sets the exception message (returned by what()) to message.

Clone this wiki locally