Show / Hide Table of Contents

Class RunException

RunException 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 and not be used by developers. The reason to make it public is for it to be assertable by testing frameworks. Ideally ResourceException should always be used so that as many errors as possible can be associated with a Resource.

Inheritance
object
Exception
RunException
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 RunException : Exception, ISerializable

Constructors

View Source

RunException(string)

Declaration
public RunException(string message)
Parameters
Type Name Description
string message
View Source

RunException(string, Exception?)

Declaration
public RunException(string message, Exception? innerException)
Parameters
Type Name Description
string message
Exception innerException

Methods

View Source

OutputsHaveIncorrectType(IEnumerable<string>)

Declaration
public static RunException OutputsHaveIncorrectType(IEnumerable<string> outputAttributeNames)
Parameters
Type Name Description
IEnumerable<string> outputAttributeNames
Returns
Type Description
RunException

Implements

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