Skip to main content

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

ConstructorModifiersDescription
(constructor)(message, cause)Constructs a new instance of the ForwardedError class