2024-10-28 12:42:04 +00:00
|
|
|
|
// C:\Users\adm\Source\Repos\presence1\Demo\Data\Exceptions\UserNotFoundException.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 UserNotFoundException : Exception
|
|
|
|
|
{
|
2024-10-28 12:42:04 +00:00
|
|
|
|
public UserNotFoundException(Guid userId)
|
|
|
|
|
: base($"User with ID {userId} was not found.")
|
|
|
|
|
{
|
|
|
|
|
}
|
2024-10-24 08:50:32 +00:00
|
|
|
|
}
|
|
|
|
|
}
|