Class ResourceError

ResourceError can be used for terminating a program abruptly, specifically associating the problem with a Resource. Depending on the nature of the problem, clients can choose whether or not a call stack should be returned as well. This should be very rare, and would only indicate no usefulness of presenting that stack to the user.

Hierarchy

  • Error
    • ResourceError

Constructors

Properties

Methods

Constructors

Properties

hideStack?: boolean
resource: undefined | Resource

Methods

  • Returns true if the given object is an instance of a ResourceError. 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 ResourceError

Generated using TypeDoc