SpecYamlFormatException class

A structural error in a *.docspecs.yaml file: wrong/unsupported format version, a key that does not match the metadata tree at its position, a malformed value shape, or (on encode) document values the tree cannot place.

Implemented types

Constructors

SpecYamlFormatException(String message)
Message-only by design. A format fault aborts the whole decode or encode — the native format is all-or-nothing under the SOM §12.7 round-trip contract — so there is no partial result to hang a machine-readable code off and no degraded mode for a caller to branch into. The offending path or key is named inside message.

Properties

hashCode → int
The hash code for this object.
no setterinherited
message → String
What went wrong, naming the offending path/key where applicable.
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