2022-10-08 19:26:34 +03:00

14 lines
321 B
C#

using System;
namespace TelegramBotBase.Exceptions;
public class MaximumRowsReachedException : Exception
{
public int Value { get; set; }
public int Maximum { get; set; }
public override string Message =>
$"You have exceeded the maximum of rows by {Value.ToString()} / {Maximum.ToString()}";
}