2017-03-09 12:31:34 -08:00
|
|
|
using System;
|
|
|
|
using Microsoft.DotNet.Cli.Utils;
|
|
|
|
|
|
|
|
namespace Microsoft.DotNet.Cli
|
|
|
|
{
|
|
|
|
///
|
|
|
|
/// <summary>Allows control flow to be interrupted in order to display help in the console.</summary>
|
|
|
|
///
|
|
|
|
public class HelpException : Exception
|
|
|
|
{
|
2017-03-13 20:06:59 -07:00
|
|
|
public HelpException(string message) : base(message)
|
2017-03-09 12:31:34 -08:00
|
|
|
{
|
|
|
|
Data.Add(ExceptionExtensions.CLI_User_Displayed_Exception, true);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|