Preview 2.0 is now in Public Beta!
Read the Announcement
Note: You are on the beta version of our docs. This is a work in progress and may contain broken links and pages.
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