YamlException class

An error thrown by the YAML processor.

Implemented types

Constructors

YamlException(String message, SourceSpan? span)

Properties

hashCode int
The hash code for this object.
no setterinherited
message String
A message describing the exception.
no setterinherited
offset int?
The offset in source where the error was detected.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
source → dynamic
The actual source input which caused the error.
finalinherited
span → SourceSpan?
The span associated with this exception.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString({Object? color}) String
Returns a string representation of this.
inherited

Operators

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