zeroframework/Services/DeviceCenter/ZeroFramework.DeviceCenter.Domain/Specifications/Exceptions/DuplicateSkipException.cs
2023-12-05 17:22:48 +08:00

18 lines
505 B
C#

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)
{
}
}
}