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

18 lines
501 B
C#
Raw Normal View History

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