presence_api/data/Exceptions/UserNotFoundException.cs

10 lines
260 B
C#
Raw Normal View History

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