8.7 released—WinterCG Compliance Part 1
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