presence/Demo/Data/Exceptions/GroupNotFoundException.cs

10 lines
252 B
C#
Raw Permalink Normal View History

2024-10-21 12:41:56 +00:00
using System;
namespace Demo.Data.Exceptions
{
public class GroupNotFoundException : RepositoryException
{
public GroupNotFoundException(int userId)
: base($"Группа с ID {userId} не найдена.") { }
}
}