8.8 released—CSS Media Query support, SF Symbols and much more...
Learn more
Error
ScopeError
An Error class that provides additional context to an error.

Summary

Constructors

constructor

Constructors

constructor

new ScopeError(child: Error, message?: string): ScopeError
Creates a new ScopeError providing addtional context to the child error.
Parameter Default Description
child
Error

The child error to extend.

message
string

Additional message to prepend to the child error.

Returns ScopeError