Help prepare for 2025 → Answer 8 simple questions on our Fall Survey
Open Survey
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