Skip to content

Commit 8cfc92e

Browse files
Add command line exception
1 parent 8e6b26f commit 8cfc92e

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
namespace TfvcMigrator;
2+
public sealed class CommandLineException : ApplicationException
3+
{
4+
public int ExitCode { get; }
5+
public CommandLineException(string message, int exitCode = 1) : base(message)
6+
{
7+
ExitCode = exitCode;
8+
}
9+
}

0 commit comments

Comments
 (0)