@pulumi/pulumi - v3.256.0
    Preparing search index...

    Class RunError

    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
    Index

    Constructors

    Methods

    Constructors

    • Parameters

      • Optionalmessage: string

      Returns RunError

    Methods

    • Returns true if the given object is 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