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.
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
Methods
View Source
OutputsHaveIncorrectType(IEnumerable<string>)
Declaration
public static RunException OutputsHaveIncorrectType(IEnumerable<string> outputAttributeNames)
Parameters
Returns
Implements