//
// Copyright (c) alveus.dev. All rights reserved. Licensed under the MIT License.
//
using System.Net;
using Astral.Core.Exceptions;
using Astral.Services.Constants;
namespace Astral.Services.Exceptions;
///
/// Thrown if username/password is incorrect.
///
public class InvalidCredentialsException : ServiceException
{
///
/// Initializes a new instance of the class.
///
public InvalidCredentialsException()
: base(
ServiceErrorCodes.InvalidCredentials,
"The credentials provided were incorrect",
HttpStatusCode.Unauthorized)
{
}
}