ReferenceParseErrorCode enum

A typed classification for reference parsing failures.

Inheritance
Available extensions

Values

emptyReference → const ReferenceParseErrorCode
const ReferenceParseErrorCode('empty_reference')
patternMismatch → const ReferenceParseErrorCode
const ReferenceParseErrorCode('pattern_mismatch')
unknownBook → const ReferenceParseErrorCode
const ReferenceParseErrorCode('unknown_book')
invalidNumericToken → const ReferenceParseErrorCode
const ReferenceParseErrorCode('invalid_numeric_token')
nonPositiveNumericToken → const ReferenceParseErrorCode
const ReferenceParseErrorCode('non_positive_numeric_token')
numericTokenOutOfRange → const ReferenceParseErrorCode
const ReferenceParseErrorCode('numeric_token_out_of_range')
emptyBookToken → const ReferenceParseErrorCode
const ReferenceParseErrorCode('empty_book_token')
ambiguousBook → const ReferenceParseErrorCode
const ReferenceParseErrorCode('ambiguous_book')
unsupportedLanguage → const ReferenceParseErrorCode
const ReferenceParseErrorCode('unsupported_language')
sameBookRangeNotAscending → const ReferenceParseErrorCode
const ReferenceParseErrorCode('same_book_range_not_ascending')
crossBookRangeNotAscending → const ReferenceParseErrorCode
const ReferenceParseErrorCode('cross_book_range_not_ascending')
missingNumericToken → const ReferenceParseErrorCode
const ReferenceParseErrorCode('missing_numeric_token')
unknown → const ReferenceParseErrorCode
const ReferenceParseErrorCode('unknown')

Properties

hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
wireName → String
Stable machine-readable name used by the legacy ParseVerseRefError.code.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

fromWireName(String value) → ReferenceParseErrorCode
Resolves a legacy string code to its typed equivalent.

Constants

values → const List<ReferenceParseErrorCode>
A constant List of the values in this enum, in order of their declaration.