W3cubDocs

/Sass

Class Error

An error that can be returned from a Sass function to signal that it encountered an error. This is the only way to signal an error asynchronously from a LegacyAsyncFunction.

Hierarchy

  • Error

Index

Constructors

Constructors

constructor

  • new Error(message: string): Error

© 2006–2022 the Sass team, and numerous contributors
Licensed under the MIT License.
https://sass-lang.com/documentation/js-api/classes/types.Error