pub enum CaseMappingError {
Validation(&'static str),
DecodeUtf16(DecodeUtf16Error),
CodePointTrie(CodePointTrieError),
}
Expand description
A list of error outcomes for various operations in this module.
Re-exported as Error
.
🚧 This code is experimental; it may change at any time, in breaking or non-breaking ways,
including in SemVer minor releases. It can be enabled with the "experimental" Cargo feature
of the icu meta-crate. Use with caution.
#2535
Variants§
Validation(&'static str)
An error occurred while building and validating the data
DecodeUtf16(DecodeUtf16Error)
A UTF16 string in the data contained an unpaired surrogate
CodePointTrie(CodePointTrieError)
An error occurred while building the code point trie
Trait Implementations§
source§impl From<DecodeUtf16Error> for Error
impl From<DecodeUtf16Error> for Error
source§fn from(e: DecodeUtf16Error) -> Self
fn from(e: DecodeUtf16Error) -> Self
Converts to this type from the input type.
source§impl From<Error> for Error
impl From<Error> for Error
source§fn from(e: CodePointTrieError) -> Self
fn from(e: CodePointTrieError) -> Self
Converts to this type from the input type.