ErrorCode enum

Different error codes that can be returned by the FeatureProvider.

Inheritance

Constructors

ErrorCode(String rawCode)
Default constructor.
const

Values

providerNotReady → const ErrorCode

Provider is not in ready state.

const ErrorCode('PROVIDER_NOT_READY')
flagNotFound → const ErrorCode

The provided flag could not be found.

const ErrorCode('FLAG_NOT_FOUND')
parseError → const ErrorCode

The error could not be parsed.

const ErrorCode('PARSE_ERROR')
typeMismatch → const ErrorCode

The provided flag or value type do not match.

const ErrorCode('TYPE_MISMATCH')
general → const ErrorCode

General Errors.

const ErrorCode('GENERAL')

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
rawCode String
The raw code of the error.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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

Constants

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