ParserException class

An exception raised in case of a parse error.

Implemented types
Annotations
  • @immutable

Constructors

ParserException(Failure failure)
Creates a ParserException with the provided failure.
const

Properties

failure → Failure
The underlying parse failure.
final
hashCode → int
The hash code for this object.
no setterinherited
message → String
A message describing the format error.
no setteroverride
offset → int
The offset in source where the error was detected.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
source → String
The actual source input which caused the error.
no setteroverride

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