zeroframework/Services/DeviceCenter/ZeroFramework.DeviceCenter.Domain/Specifications/Exceptions/DuplicateSkipException.cs

18 lines
505 B
C#
Raw Normal View History

2023-12-05 09:22:48 +00:00
namespace ZeroFramework.DeviceCenter.Domain.Specifications.Exceptions
{
public class DuplicateSkipException : Exception
{
private const string message = "Duplicate use of the Skip(). Ensure you don't use both Paginate() and Skip() in the same specification!";
public DuplicateSkipException()
: base(message)
{
}
public DuplicateSkipException(Exception innerException)
: base(message, innerException)
{
}
}
}