Move CommandCreationException to root
This commit is contained in:
parent
099dca3950
commit
873bb31cfa
2 changed files with 16 additions and 10 deletions
16
src/dotnet/CommandCreationException.cs
Normal file
16
src/dotnet/CommandCreationException.cs
Normal file
|
@ -0,0 +1,16 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace Microsoft.DotNet.Cli
|
||||
{
|
||||
internal class CommandCreationException : Exception
|
||||
{
|
||||
public int ExitCode { get; private set; }
|
||||
|
||||
public CommandCreationException(int exitCode)
|
||||
{
|
||||
ExitCode = exitCode;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -142,15 +142,5 @@ namespace Microsoft.DotNet.Tools.Build
|
|||
{
|
||||
return GetProcessStartInfo().Execute();
|
||||
}
|
||||
|
||||
private class CommandCreationException : Exception
|
||||
{
|
||||
public int ExitCode { get; private set; }
|
||||
|
||||
public CommandCreationException(int exitCode)
|
||||
{
|
||||
ExitCode = exitCode;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue