6#include <inflection/exception/fwd.hpp>
7#include <inflection/exception/RuntimeException.hpp>
8#include <unicode/utypes.h>
24 UErrorCode status { U_ZERO_ERROR };
55 static void throwOnFailure(UErrorCode status,
const char16_t* message);
61 static void throwOnFailure(UErrorCode status,
const std::u16string& message);
68 if (U_FAILURE(status)) {
77 if (U_FAILURE(status)) {
86 if (U_FAILURE(status)) {
Used to indicate an error utilizing the ICU unicode library.
UErrorCode getError() const
ICUException(UErrorCode status)
ICUException(UErrorCode status, const std::u16string &message)
static void throwOnFailure(UErrorCode status)
Used to indicate a generic exception occurring at runtime.
The C++ namespace for Inflection.