using System.Net; namespace adas_core.Domain.Exceptions; /// /// Represents an exception that is thrown when an error occurs within the login services layer. /// /// /// This exception extends to signal business-level failures /// specific to authentication and login operations. /// public class LoginServicesException : BusinessException { public LoginServicesException(string message) : base(HttpStatusCode.BadRequest, $"Login service error: {message}") { } public LoginServicesException(string message, Exception exception) : base($"Login service error: {message}", exception) { } }