text-icu-0.6.3.3: Bindings to the ICU library

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 -> BoolSource

Indicate whether the given error code is a success.

isFailure :: ICUError -> BoolSource

Indicate whether the given error code is a failure.

errorName :: ICUError -> StringSource

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