slarny4/Demo1/Data/Exceptions/GroupNotFoundException.cs

13 lines
335 B
C#
Raw Normal View History

2024-10-28 12:42:04 +00:00
// C:\Users\adm\Source\Repos\presence1\Demo\Data\Exceptions\GroupNotFoundException.cs
using System;
2024-10-24 08:50:32 +00:00
2024-10-28 12:42:04 +00:00
namespace Demo.Data.Exceptions
2024-10-24 08:50:32 +00:00
{
public class GroupNotFoundException : Exception
{
2024-10-28 12:42:04 +00:00
public GroupNotFoundException(int groupId)
: base($"Group with ID {groupId} was not found.")
{
}
2024-10-24 08:50:32 +00:00
}
}