Class EntityExistsError

Hierarchy

Constructors

Properties

Methods

Constructors

Properties

cause?: Error

The error cause

entity: Entity

The entity which cause the error

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