mirror of
https://github.com/farcasclaudiu/PracticeCalendar.git
synced 2026-06-22 05:01:15 +03:00
17 lines
400 B
C#
17 lines
400 B
C#
using PracticeCalendar.Domain.Common;
|
|
|
|
namespace PracticeCalendar.Domain.Exceptions
|
|
{
|
|
public class InvalidAttendeeException : DomainException
|
|
{
|
|
private int attendeeId;
|
|
|
|
public InvalidAttendeeException(int attendeeId)
|
|
{
|
|
this.attendeeId = attendeeId;
|
|
}
|
|
|
|
public override string Message => $"Invalid Attendee with id: {attendeeId}";
|
|
}
|
|
}
|