BloomEmptyExtractionException class

Thrown when attempting to extract payload (.data) from an Empty state or snapshot.

Actionable Resolution

  1. Inspect emptyReason to determine what prerequisite or guard gated this computation.
  2. DO NOT remove precondition guards; resolve the missing prerequisite upstream instead.
  3. In UI components, check node.isEmpty and node.emptyReason to render pending states.
  4. Use .dataOrNull or .dataOrElse(() => fallback) to handle dormant states gracefully.
Inheritance

Constructors

BloomEmptyExtractionException(String details, {Object? emptyReason})
Creates a BloomEmptyExtractionException with diagnostic context and causal reason.
const

Properties

details → String
Diagnostic description of where and why extraction failed.
finalinherited
emptyReason → Object?
Optional causal reason if the state was in an empty phase.
final
error → Object?
The original upstream error object if state was in an error phase.
no setterinherited
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
stackTrace → StackTrace?
The original stack trace if state was in an error phase.
no setterinherited
state → String
The string descriptor of the invalid state (e.g. 'Empty', 'Error').
finalinherited

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