SassException class
An exception thrown by Sass.
- Implemented types
- Annotations
-
- @sealed
Constructors
-
SassException(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.
final
- message → String
-
A message describing the exception.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- span → FileSpan
-
The span associated with this exception.
no setter
- trace → Trace
-
The Sass stack trace at the point this exception was thrown.
no setter
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.
-
toString(
{Object? color}) → String -
Returns a string representation of
this
. -
withLoadedUrls(
Iterable< Uri> loadedUrls) → SassException -
Returns a copy of this with
loadedUrls
set to the given value.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited