FormatterException class
Thrown when one or more errors occurs while parsing the code to be formatted.
- Implemented types
-
- Exception
Constructors
-
FormatterException(List<
AnalysisError> errors) -
Creates a new FormatterException with an optional error message.
const
Properties
-
errors
→ List<
AnalysisError> -
The
AnalysisError
s that occurred.final - hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
message(
{bool color}) → String - Creates a human-friendly representation of the analysis errors.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
Returns a string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited