mirror of
https://github.com/farcasclaudiu/PracticeCalendar.git
synced 2026-06-22 07:01:16 +03:00
Add project files.
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
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}";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user