Skip to main content
Version: Next

ForwardedError

Home > @backstage/errors > ForwardedError

An error that forwards an underlying cause with additional context in the message.

The name property of the error will be inherited from the cause if possible, and will otherwise be set to 'Error'.

Signature:

class ForwardedError extends CustomErrorBase 

Extends: CustomErrorBase

Constructors

Constructor

Modifiers

Description

(constructor)(message, cause)

Constructs a new instance of the ForwardedError class