namespace ServiceShared.Models.Response.Exception { /// /// This exception will be thrown when some of given argument is invalid /// public class InvalidArgumentException : ResponseException { public override Types error_type => Types.InvalidArgument; public override string message => "invalid argument"; public string reason { get; } public string argument { get; } public InvalidArgumentException(string argument, string reason) { this.argument = argument; this.reason = reason; } } }