20 lines
532 B
C#
20 lines
532 B
C#
using System;
|
|
|
|
namespace LCU.API.Collections.RepoApi.Exceptions
|
|
{
|
|
/// <summary>
|
|
/// Describes a missing requirement for processing an account; this account CANNOT be tried again later.
|
|
/// </summary>
|
|
public class IneligibleAccountException : Exception
|
|
{
|
|
public string Field { get; set; }
|
|
public string Reason { get; set; }
|
|
|
|
public IneligibleAccountException(string field, string reason) : base(field)
|
|
{
|
|
Field = field;
|
|
Reason = reason;
|
|
}
|
|
}
|
|
}
|