diff --git a/.changes/unreleased/Improvements-364.yaml b/.changes/unreleased/Improvements-364.yaml new file mode 100644 index 00000000..a8922ca0 --- /dev/null +++ b/.changes/unreleased/Improvements-364.yaml @@ -0,0 +1,6 @@ +component: sdk +kind: Improvements +body: Make Pulumi.RunException public +time: 2024-10-16T12:40:31.206421+02:00 +custom: + PR: "364" diff --git a/sdk/Pulumi/Exceptions/RunException.cs b/sdk/Pulumi/Exceptions/RunException.cs index 173efb6d..ff790833 100644 --- a/sdk/Pulumi/Exceptions/RunException.cs +++ b/sdk/Pulumi/Exceptions/RunException.cs @@ -8,11 +8,12 @@ namespace Pulumi /// /// 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. Ideally should always be used so that as many errors as possible can be /// associated with a Resource. /// - internal class RunException : Exception + public class RunException : Exception { public RunException(string message) : base(message)