Skip to content

Commit

Permalink
feat: Returning result with a message for non-zero codes
Browse files Browse the repository at this point in the history
  • Loading branch information
kamil-mrzyglod committed Feb 14, 2024
1 parent 55c5881 commit 750e011
Show file tree
Hide file tree
Showing 2 changed files with 248 additions and 230 deletions.
7 changes: 7 additions & 0 deletions ace/ApplicationResult.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
namespace ACE;

internal sealed class ApplicationResult(int exitCode, string? errorMessage)
{
public int ExitCode { get; } = exitCode;
public string? ErrorMessage { get; } = errorMessage;
}
Loading

0 comments on commit 750e011

Please sign in to comment.