Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(#203): RunException access modifier set to public. Docs updated #364

Merged
merged 3 commits into from
Oct 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .changes/unreleased/Improvements-364.yaml
Original file line number Diff line number Diff line change
@@ -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"
5 changes: 3 additions & 2 deletions sdk/Pulumi/Exceptions/RunException.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,12 @@ namespace Pulumi
/// <summary>
/// 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 <see
/// 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 <see
/// cref="ResourceException"/> should always be used so that as many errors as possible can be
/// associated with a Resource.
/// </summary>
internal class RunException : Exception
public class RunException : Exception
{
public RunException(string message)
: base(message)
Expand Down
Loading