presence/Demo/Data/Exceptions/UserNotFoundException.cs

10 lines
260 B
C#
Raw Normal View History

2024-11-03 11:15:59 +00:00
using System;
namespace Demo.Data.Exceptions
{
public class UserNotFoundException : RepositoryException
{
public UserNotFoundException(int userId)
: base($"Пользователь с ID {userId} не найден.") { }
}
}