text-icu-0.7.0.1: Bindings to the ICU library

Safe HaskellNone
LanguageHaskell98

Data.Text.ICU.Error

Contents

Description

 

Synopsis

Types

data ICUError Source

ICU error type. This is an instance of the Exception type class. A value of this type may be thrown as an exception by most ICU functions.

data ParseError Source

Detailed information about parsing errors. Used by ICU parsing engines that parse long rules, patterns, or programs, where the text being parsed is long enough that more information than an ICUError is needed to localize the error.

Functions

isSuccess :: ICUError -> Bool Source

Indicate whether the given error code is a success.

isFailure :: ICUError -> Bool Source

Indicate whether the given error code is a failure.

errorName :: ICUError -> String Source

Return a string representing the name of the given error code.

Warnings

Errors

Transliterator errors

Formatting API parsing errors

Break iterator errors

Regular expression errors

IDNA errors