ExpectationCodes class

Centralized expectation code constants to avoid typos.

Codes follow a domain.specific_issue naming. Existing domains:

  • value.* : primitive / direct value expectations
  • structure.* : map/list structural errors
  • logic.* : logical/combinator wrappers

NOTE: Only add stable, publicly documented codes here. Experimental ones can live near their validators until stabilized.

Constructors

ExpectationCodes()

Properties

hashCode → int
The hash code for this object.
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

Static Properties

logicPredicateFailed ↔ String
getter/setter pair
typeMismatch ↔ String
getter/setter pair
valueRangeOutOfBounds ↔ String
getter/setter pair