ParsedYamlException class

An exception thrown when parsing YAML that contains information about the location in the source where the exception occurred.

Implemented types

Constructors

ParsedYamlException(String message, YamlNode yamlNode, {Object? innerError})
ParsedYamlException.fromYamlException(YamlException exception)
factory

Properties

formattedMessage String?
Returns message formatted with source information provided by yamlNode.
no setter
hashCode int
The hash code for this object.
no setterinherited
innerError Object?
If this exception was thrown as a result of another error, contains the source error object.
final
message String
Describes the nature of the parse failure.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
yamlNode → YamlNode?
The node associated with this exception.
final

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