RunError 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. Ideally ResourceError should always be used so
that as many errors as possible can be associated with a Resource.
Returns true if the given object is an instance of a RunError. This is designed to work even when
multiple copies of the Pulumi SDK have been loaded into the same process.
RunError 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. Ideally ResourceError should always be used so that as many errors as possible can be associated with a Resource.