HORIZON HASKELLDocslts/ghc-9.14.x7a6c33e2026-10-12Search packagesCtrl K
Theme: |

GHC 9.14.1 · lts/ghc-9.14.x · 7a6c33e · 2026-10-12

Moduletext-icu-0.8.0.5Haskell98

Data.Text.ICU.Error

Errors thrown by bindings to the International Components for Unicode (ICU) libraries.

Most ICU functions can throw an ICUError value as an exception. Some can additionally throw a ParseError, if more detailed error information is necessary.

Contents
  1. Types
  2. Functions
  3. Warnings
  4. Errors
  5. Transliterator errors
  6. Formatting API parsing errors
  7. Break iterator errors
  8. Regular expression errors
  9. IDNA errors
Synopsis
  • Packagetext-icu-0.8.0.5
  • Exports131
  • LanguageHaskell98
  • LicenceBSD-3-Clause
  • SourceError.hsc

Types

newtypenewtype ICUError

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.

Instances4Eq, Show, Exception, NFData
  • Eq ICUErrorDefined in text-icu-0.8.0.5 · Data.Text.ICU.Error.Internal
  • Show ICUErrorDefined in text-icu-0.8.0.5 · Data.Text.ICU.Error.Internal
  • Exception ICUErrorDefined in text-icu-0.8.0.5 · Data.Text.ICU.Error.Internal
  • NFData ICUErrorDefined in text-icu-0.8.0.5 · Data.Text.ICU.Error.Internal
datadata ParseError

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.

Instances3Show, Exception, NFData

The line on which the error occured. If the parser uses this field, it sets it to the line number of the source text line on which the error appears, which will be be a positive value. If the parser does not support line numbers, the value will be Nothing.

The character offset to the error. If the errLine field is Just some value, then this field contains the offset from the beginning of the line that contains the error. Otherwise, it represents the offset from the start of the text. If the parser does not support this field, it will have a value of Nothing.

Functions

Warnings

Errors

Transliterator errors

Formatting API parsing errors

Break iterator errors

Regular expression errors

IDNA errors