Class RollbackError

Hierarchy

Constructors

Properties

Methods

Constructors

  • Parameters

    • cause: Error

    Returns RollbackError

Properties

cause?: Error

The error cause

message: string

The error message

name: string

The name of the error

stack?: string

The error stack trace

Methods

  • Wraps the given error into a persistent error, if the error is not already an persistent error

    Parameters

    • error: Error

      The error to wrap

    Returns error.PersistentError

Generated using TypeDoc