SassFormatException class

An exception thrown when Sass parsing has failed.

Inheritance
Implemented types
Annotations
  • @sealed

Constructors

SassFormatException(String message, FileSpan span, [Iterable<Uri>? loadedUrls])

Properties

hashCode int
The hash code for this object.
no setterinherited
loadedUrls Set<Uri>
The set of canonical stylesheet URLs that were loaded in the course of the compilation, before it failed.
finalinherited
message String
A message describing the exception.
no setterinherited
offset int
The offset in source where the error was detected.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
source String
The actual source input which caused the error.
no setter
span → FileSpan
The span associated with this exception.
no setterinherited
trace → Trace
The Sass stack trace at the point this exception was thrown.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toCssString() String
Returns the contents of a CSS stylesheet that will display this error message above the current page.
inherited
toString({Object? color}) String
Returns a string representation of this.
inherited

Operators

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