18 lines
533 B
C#
18 lines
533 B
C#
namespace ServiceShared.Models.Response.Exception
|
|
{
|
|
/// <summary>
|
|
/// This exception will be thrown when some of required argument is missing
|
|
/// </summary>
|
|
public class MissingArgumentException : ResponseException
|
|
{
|
|
public override Types error_type => Types.MissingArgument;
|
|
public override string message => "missing argument";
|
|
public string argument { get; }
|
|
|
|
public MissingArgumentException(string argument)
|
|
{
|
|
this.argument = argument;
|
|
}
|
|
}
|
|
}
|