Standard ICU4C error code type, a substitute for exceptions.
Initialize the UErrorCode with U_ZERO_ERROR, and check for success or failure using U_SUCCESS() or U_FAILURE():
Note: By convention, ICU functions that take a reference (C++) or a pointer (C) to a UErrorCode first test:
so that in a chain of such functions the first one that sets an error code causes the following ones to not perform any operations.
Enumerator U_USING_FALLBACK_WARNINGA resource bundle lookup returned a fallback result (not an error)
U_ERROR_WARNING_STARTStart of information results (semantically successful)
U_USING_DEFAULT_WARNINGA resource bundle lookup returned a result from the root locale (not an error)
U_SAFECLONE_ALLOCATED_WARNINGA SafeClone operation required allocating memory (informational only)
U_STATE_OLD_WARNINGICU has to use compatibility layer to construct the service.
Expect performance/memory usage degradation. Consider upgrading
U_STRING_NOT_TERMINATED_WARNINGAn output string could not be NUL-terminated because output length==destCapacity.
U_SORT_KEY_TOO_SHORT_WARNINGNumber of levels requested in getBound is higher than the number of levels in the sort key.
U_AMBIGUOUS_ALIAS_WARNINGThis converter alias can go to different converter implementations.
U_DIFFERENT_UCA_VERSIONucol_open encountered a mismatch between UCA version and collator image version, so the collator was constructed from rules.
No impact to further function
U_PLUGIN_CHANGED_LEVEL_WARNINGA plugin caused a level change.
May not be an error, but later plugins may not load.
U_ERROR_WARNING_LIMITOne more than the highest normal UErrorCode warning value.
No error, no warning.
U_ILLEGAL_ARGUMENT_ERRORStart of codes indicating failure.
U_MISSING_RESOURCE_ERRORThe requested resource cannot be found.
U_INVALID_FORMAT_ERRORData format is not what is expected.
U_FILE_ACCESS_ERRORThe requested file cannot be found.
U_INTERNAL_PROGRAM_ERRORIndicates a bug in the library code.
U_MESSAGE_PARSE_ERRORUnable to parse a message (message format)
U_MEMORY_ALLOCATION_ERRORMemory allocation error.
U_INDEX_OUTOFBOUNDS_ERRORTrying to access the index that is out of bounds.
U_PARSE_ERROREquivalent to Java ParseException.
U_INVALID_CHAR_FOUNDCharacter conversion: Unmappable input sequence.
In other APIs: Invalid character.
U_TRUNCATED_CHAR_FOUNDCharacter conversion: Incomplete input sequence.
U_ILLEGAL_CHAR_FOUNDCharacter conversion: Illegal input sequence/combination of input units.
U_INVALID_TABLE_FORMATConversion table file found, but corrupted.
U_INVALID_TABLE_FILEConversion table file not found.
U_BUFFER_OVERFLOW_ERRORA result would not fit in the supplied buffer.
U_UNSUPPORTED_ERRORRequested operation not supported in current context.
U_RESOURCE_TYPE_MISMATCHan operation is requested over a resource that does not support it
U_ILLEGAL_ESCAPE_SEQUENCEISO-2022 illegal escape sequence.
U_UNSUPPORTED_ESCAPE_SEQUENCEISO-2022 unsupported escape sequence.
U_NO_SPACE_AVAILABLENo space available for in-buffer expansion for Arabic shaping.
U_CE_NOT_FOUND_ERRORCurrently used only while setting variable top, but can be used generally.
U_PRIMARY_TOO_LONG_ERRORUser tried to set variable top to a primary that is longer than two bytes.
U_STATE_TOO_OLD_ERRORICU cannot construct a service from this state, as it is no longer supported.
U_TOO_MANY_ALIASES_ERRORThere are too many aliases in the path to the requested resource.
It is very possible that a circular alias definition has occurred
U_ENUM_OUT_OF_SYNC_ERRORUEnumeration out of sync with underlying collection.
U_INVARIANT_CONVERSION_ERRORUnable to convert a UChar* string to char* with the invariant converter.
U_INVALID_STATE_ERRORRequested operation can not be completed with ICU in its current state.
U_COLLATOR_VERSION_MISMATCHCollator version is not compatible with the base version.
U_USELESS_COLLATOR_ERRORCollator is options only and no base is specified.
U_NO_WRITE_PERMISSIONAttempt to modify read-only or constant data.
U_INPUT_TOO_LONG_ERRORThe input is impractically long for an operation.
It is rejected because it may lead to problems such as excessive processing time, stack depth, or heap memory requirements.
One more than the highest standard error code.
Missing '$' or duplicate variable name.
U_PARSE_ERROR_STARTStart of Transliterator errors.
U_MALFORMED_RULEElements of a rule are misplaced.
U_MALFORMED_SETA UnicodeSet pattern is invalid.
U_MALFORMED_SYMBOL_REFERENCEUNUSED as of ICU 2.4.
U_MALFORMED_UNICODE_ESCAPEA Unicode escape pattern is invalid.
U_MALFORMED_VARIABLE_DEFINITIONA variable definition is invalid.
U_MALFORMED_VARIABLE_REFERENCEA variable reference is invalid.
U_MISMATCHED_SEGMENT_DELIMITERSUNUSED as of ICU 2.4.
U_MISPLACED_ANCHOR_STARTA start anchor appears at an illegal position.
U_MISPLACED_CURSOR_OFFSETA cursor offset occurs at an illegal position.
U_MISPLACED_QUANTIFIERA quantifier appears after a segment close delimiter.
U_MISSING_OPERATORA rule contains no operator.
U_MISSING_SEGMENT_CLOSEUNUSED as of ICU 2.4.
U_MULTIPLE_ANTE_CONTEXTSMore than one ante context.
U_MULTIPLE_CURSORSMore than one cursor.
U_MULTIPLE_POST_CONTEXTSMore than one post context.
U_TRAILING_BACKSLASHA dangling backslash.
U_UNDEFINED_SEGMENT_REFERENCEA segment reference does not correspond to a defined segment.
U_UNDEFINED_VARIABLEA variable reference does not correspond to a defined variable.
U_UNQUOTED_SPECIALA special character was not quoted or escaped.
U_UNTERMINATED_QUOTEA closing single quote is missing.
U_RULE_MASK_ERRORA rule is hidden by an earlier more general rule.
U_MISPLACED_COMPOUND_FILTERA compound filter is in an invalid location.
U_MULTIPLE_COMPOUND_FILTERSMore than one compound filter.
U_INVALID_RBT_SYNTAXA "::id" rule was passed to the RuleBasedTransliterator parser.
U_INVALID_PROPERTY_PATTERNUNUSED as of ICU 2.4.
U_MALFORMED_PRAGMAA 'use' pragma is invalid.
U_UNCLOSED_SEGMENTA closing ')' is missing.
U_ILLEGAL_CHAR_IN_SEGMENTUNUSED as of ICU 2.4.
U_VARIABLE_RANGE_EXHAUSTEDToo many stand-ins generated for the given variable range.
U_VARIABLE_RANGE_OVERLAPThe variable range overlaps characters used in rules.
U_ILLEGAL_CHARACTERA special character is outside its allowed context.
U_INTERNAL_TRANSLITERATOR_ERRORInternal transliterator system error.
U_INVALID_IDA "::id" rule specifies an unknown transliterator.
U_INVALID_FUNCTIONA "&fn()" rule specifies an unknown transliterator.
U_PARSE_ERROR_LIMITOne more than the highest normal Transliterator error code.
Syntax error in format pattern.
U_FMT_PARSE_ERROR_STARTStart of format library errors.
U_MULTIPLE_DECIMAL_SEPARATORSMore than one decimal separator in number pattern.
U_MULTIPLE_DECIMAL_SEPERATORSTypo: kept for backward compatibility.
Use U_MULTIPLE_DECIMAL_SEPARATORS
U_MULTIPLE_EXPONENTIAL_SYMBOLSMore than one exponent symbol in number pattern.
U_MALFORMED_EXPONENTIAL_PATTERNGrouping symbol in exponent pattern.
U_MULTIPLE_PERCENT_SYMBOLSMore than one percent symbol in number pattern.
U_MULTIPLE_PERMILL_SYMBOLSMore than one permill symbol in number pattern.
U_MULTIPLE_PAD_SPECIFIERSMore than one pad symbol in number pattern.
U_PATTERN_SYNTAX_ERRORSyntax error in format pattern.
U_ILLEGAL_PAD_POSITIONPad symbol misplaced in number pattern.
U_UNMATCHED_BRACESBraces do not match in message pattern.
U_UNSUPPORTED_PROPERTYUNUSED as of ICU 2.4.
U_UNSUPPORTED_ATTRIBUTEUNUSED as of ICU 2.4.
U_ARGUMENT_TYPE_MISMATCHArgument name and argument index mismatch in MessageFormat functions.
U_DUPLICATE_KEYWORDDuplicate keyword in PluralFormat.
U_UNDEFINED_KEYWORDUndefined Plural keyword.
U_DEFAULT_KEYWORD_MISSINGMissing DEFAULT rule in plural rules.
U_DECIMAL_NUMBER_SYNTAX_ERRORDecimal number syntax error.
U_FORMAT_INEXACT_ERRORCannot format a number exactly and rounding mode is ROUND_UNNECESSARY.
The argument to a NumberFormatter helper method was out of bounds; the bounds are usually 0 to 999.
The number skeleton passed to C++ NumberFormatter or C UNumberFormatter was invalid or contained a syntax error.
A variable is referred to but not bound by any definition.
This API is for internal use only. ICU 75 technology preview
Includes all syntax errors.
This API is for internal use only. ICU 75 technology preview
An annotation refers to a function not defined by the standard or custom function registry.
This API is for internal use only. ICU 75 technology preview
In a match-construct, one or more variants had a different number of keys from the number of selectors.
This API is for internal use only. ICU 75 technology preview
Covers all runtime errors: for example, an internally inconsistent set of options.
In a match-construct, the variants do not cover all possible values.
This API is for internal use only. ICU 75 technology preview
In an annotation, the same option name appears more than once.
This API is for internal use only. ICU 75 technology preview
A selector function is applied to an operand of the wrong type.
This API is for internal use only. ICU 75 technology preview
A selector expression evaluates to an unannotated operand.
The same variable is declared in more than one .local or .input declaration.
An operand provided to a function does not have the required form for that function.
This API is for internal use only. ICU 75 technology preview
A message includes a variant with the same key list as another variant.
An option value provided to a function does not have the required form for that option.
One more than the highest normal formatting API error code.
An internal error (bug) was detected.
U_BRK_ERROR_STARTStart of codes indicating Break Iterator failures.
U_BRK_HEX_DIGITS_EXPECTEDHex digits expected as part of a escaped char in a rule.
U_BRK_SEMICOLON_EXPECTEDMissing ';' at the end of a RBBI rule.
U_BRK_RULE_SYNTAXSyntax error in RBBI rule.
U_BRK_UNCLOSED_SETUnicodeSet writing an RBBI rule missing a closing ']'.
U_BRK_ASSIGN_ERRORSyntax error in RBBI rule assignment statement.
U_BRK_VARIABLE_REDFINITIONRBBI rule $Variable redefined.
U_BRK_MISMATCHED_PARENMis-matched parentheses in an RBBI rule.
U_BRK_NEW_LINE_IN_QUOTED_STRINGMissing closing quote in an RBBI rule.
U_BRK_UNDEFINED_VARIABLEUse of an undefined $Variable in an RBBI rule.
U_BRK_INIT_ERRORInitialization failure.
Probable missing ICU Data.
U_BRK_RULE_EMPTY_SETRule contains an empty Unicode Set.
U_BRK_UNRECOGNIZED_OPTION!!option in RBBI rules not recognized.
U_BRK_MALFORMED_RULE_TAGThe {nnn} tag on a rule is malformed
One more than the highest normal BreakIterator error code.
An internal error (bug) was detected.
U_REGEX_ERROR_STARTStart of codes indicating Regexp failures
Syntax error in regexp pattern.
U_REGEX_INVALID_STATERegexMatcher in invalid state for requested operation.
U_REGEX_BAD_ESCAPE_SEQUENCEUnrecognized backslash escape sequence in pattern
Incorrect Unicode property
Use of regexp feature that is not yet implemented.
U_REGEX_MISMATCHED_PARENIncorrectly nested parentheses in regexp pattern.
U_REGEX_NUMBER_TOO_BIGDecimal number is too large.
U_REGEX_BAD_INTERVALError in {min,max} interval
In {min,max}, max is less than min.
U_REGEX_INVALID_BACK_REFBack-reference to a non-existent capture group.
U_REGEX_INVALID_FLAGInvalid value for match mode flags.
U_REGEX_LOOK_BEHIND_LIMITLook-Behind pattern matches must have a bounded maximum length.
U_REGEX_SET_CONTAINS_STRINGRegexps cannot have UnicodeSets containing strings.
U_REGEX_OCTAL_TOO_BIGOctal character constants must be <= 0377.
Missing closing bracket on a bracket expression.
U_REGEX_INVALID_RANGEIn a character range [x-y], x is greater than y.
U_REGEX_STACK_OVERFLOWRegular expression backtrack stack overflow.
U_REGEX_TIME_OUTMaximum allowed match time exceeded
Matching operation aborted by user callback fn.
U_REGEX_PATTERN_TOO_BIGPattern exceeds limits on size or complexity.
Invalid capture group name.
One more than the highest normal regular expression error code.
One more than the highest normal IDNA error code.
Start of codes indicating plugin failures.
U_PLUGIN_TOO_HIGHThe plugin's level is too high to be loaded right now.
U_PLUGIN_DIDNT_SET_LEVELThe plugin didn't call uplug_setPlugLevel in response to a QUERY.
U_PLUGIN_ERROR_LIMITOne more than the highest normal plug-in error code.
One more than the highest normal error code.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4