/// Base class for user-facing fatal errors. These errors are shown to the user prior to termination, without a callstack, and may dictate the program exit code.
/// </summary>
publicclassFatalErrorException:Exception
{
/// <summary>
/// Exit code for the process
/// </summary>
publicintExitCode=1;
/// <summary>
/// Constructor
/// </summary>
/// <param name="Message">The error message to display.</param>
publicFatalErrorException(stringMessage)
:base(Message)
{
}
/// <summary>
/// Constructor
/// </summary>
/// <param name="InnerException">An inner exception to wrap</param>
/// <param name="Message">The error message to display.</param>
/// Returns the string representing the exception. Our build exceptions do not show the callstack since they are used to report known error conditions.