mirror of
https://dev.azure.com/TeilRad/sharee.bike%20App/_git/Code
synced 2024-12-23 15:46:29 +01:00
17 lines
727 B
C#
17 lines
727 B
C#
using ShareeBike.MultilingualResources;
|
|
|
|
namespace ShareeBike.Repository.Exception
|
|
{
|
|
public class InvalidAuthorizationResponseException : InvalidResponseException<Response.ResponseBase>
|
|
{
|
|
/// <summary>Constructs a authorization exceptions. </summary>
|
|
/// <param name="mail">Mail address to create a detailed error message.</param>
|
|
public InvalidAuthorizationResponseException(string mail, Response.ResponseBase response) :
|
|
base(string.Format(AppResources.ErrorAccountInvalidAuthorization, mail), response)
|
|
{
|
|
}
|
|
|
|
/// <summary> Holds error description if user/ password combination is not valid. </summary>
|
|
public const string AUTH_FAILURE_STATUS_MESSAGE_UPPERCASE = "FAILURE: CANNOT GENERATE AUTHCOOKIE";
|
|
}
|
|
}
|