DVModuleUnavailable class

Thrown by an operation a module declares unavailable where it was called.

The build refuses a call it can see reaching one (DV-MODULE-013); this is what a call the build could not see does instead of returning a plausible zero.

Implemented types

Constructors

DVModuleUnavailable(String module, String operation, DVModuleEnvironment environment)
const

Properties

code → String
The diagnostic this failure carries.
no setter
environment → DVModuleEnvironment
Where it was called from.
final
hashCode → int
The hash code for this object.
no setterinherited
module → String
The module id: what the application calls DV.Modules.<id>.
final
operation → String
The operation that was called.
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.
override

Operators

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