Show / Hide Table of Contents

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.

Inheritance
object
Exception
ResourceException
Implements
ISerializable
Inherited Members
Exception.GetBaseException()
Exception.GetObjectData(SerializationInfo, StreamingContext)
Exception.GetType()
Exception.ToString()
Exception.Data
Exception.HelpLink
Exception.HResult
Exception.InnerException
Exception.Message
Exception.Source
Exception.StackTrace
Exception.TargetSite
Exception.SerializeObjectState
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
Namespace: Pulumi
Assembly: Pulumi.dll
Syntax
public class ResourceException : Exception, ISerializable

Constructors

View Source

ResourceException(string, Resource?, bool)

Declaration
public ResourceException(string message, Resource? resource, bool hideStack = false)
Parameters
Type Name Description
string message
Resource resource
bool hideStack

Implements

ISerializable
  • View Source
Back to top Copyright 2016-2023, Pulumi Corporation.