using System.Net;
using Galaeth.Core.Exceptions;
using Galaeth.Services.Constants;
namespace Galaeth.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)
{
}
}