Class Exception
Hierarchy
- Error
- Exception
Index
Properties
message
A human-friendly representation of the exception.
Because many tools simply print Error.message
directly, this includes not only the textual description of what went wrong (the sassMessage) but also an indication of where in the Sass stylesheet the error occurred (the span) and the Sass stack trace at the point of error (the sassStack).
name
Readonly sass Message
Readonly sass Stack
A human-friendly representation of the Sass stack trace at the point of error.
Readonly span
The location the error occurred in the Sass file that triggered it.
Optional stack
Static Optional prepare Stack Trace
Type declaration
Optional override for formatting stack traces
Parameters
err: Error
stackTraces: CallSite[]
Returns any
Static stack Trace Limit
Methods
to String
Returns the same string as message.
Returns string
Static capture Stack Trace
Create .stack property on a target object
Parameters
targetObject: object
Optional constructorOpt: Function
Returns void
An exception thrown because a Sass compilation failed.