ErrorCode enum

Types of error that can/will be handled by derry.

Inheritance

Constructors

ErrorCode()
const

Values

scriptNotDefined → const ErrorCode

throw when a script is not defined

invalidScript → const ErrorCode

throw when a specific script definition is not valid

missingScripts → const ErrorCode

throw when unable to locate script definitions due to missing scripts key in pubspec.yaml

invalidScripts → const ErrorCode

throw when scripts field is invalid

fileNotFound → const ErrorCode

throw when a specific file cannot be located

invalidYaml → const ErrorCode

throw when YAML format is invalid

platformNotSupported → const ErrorCode

throw when using on an unsupported platform

invalidPackageUri → const ErrorCode

throw when the package uri is not valid, this is used to locate dynamic library blobs

invalidBlob → const ErrorCode

throw when dynamic library blobs are invalid and dart ffi cannot load them

invalidYamlMap → const ErrorCode

throw when a yaml file is not a map

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
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.