2022-10-15 21:59:12 +03:00

15 lines
305 B
C#

using System;
namespace TelegramBotBase.Exceptions;
public sealed 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}/{Maximum}";
}