RunError can be used for terminating a program abruptly, but resulting in a clean exit rather than the usual verbose unhandled error logic which emits the source program text and complete stack trace. This type should be rarely used. Ideally ResourceError should always be used so that as many errors as possible can be associated with a Resource.

Hierarchy

  • Error
    • RunError

Constructors

Methods

Constructors

  • Parameters

    • Optional message: string

    Returns RunError

Methods

  • Returns true if the given object is an instance of a RunError. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

    Parameters

    • obj: any

    Returns obj is RunError

Generated using TypeDoc