// // Copyright (c) alveus.dev. All rights reserved. Licensed under the MIT License. // using System.Net; using Astral.Core.Constants; using Astral.Core.Exceptions; namespace Astral.Services.Exceptions; /// /// Thrown when the logging in user is suspended. /// public class UserNotFoundException : ServiceException { /// /// Initializes a new instance of the class. /// public UserNotFoundException() : base(CoreErrorCodes.NotFoundError, "The provided user was not found", HttpStatusCode.NotFound) { } }