Class ResourceException
ResourceException 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.
Implements
Inherited Members
Namespace: Pulumi
Assembly: Pulumi.dll
Syntax
public class ResourceException : Exception, ISerializable
Constructors
View SourceResourceException(string, Resource?, bool)
Declaration
public ResourceException(string message, Resource? resource, bool hideStack = false)
Parameters
Type | Name | Description |
---|---|---|
string | message | |
Resource | resource | |
bool | hideStack |