mirror of
https://dev.azure.com/TeilRad/sharee.bike%20App/_git/Code
synced 2024-11-05 10:36:30 +01:00
16 lines
809 B
C#
16 lines
809 B
C#
|
namespace TINK.Model.Repository.Exception
|
|||
|
{
|
|||
|
public class InvalidAuthorizationResponseException : InvalidResponseException<Response.ResponseBase>
|
|||
|
{
|
|||
|
/// <summary>Constructs a authorization exceptions. </summary>
|
|||
|
/// <param name="p_strMail">Mail address to create a detailed error message.</param>
|
|||
|
public InvalidAuthorizationResponseException(string p_strMail, Response.ResponseBase p_oResponse) :
|
|||
|
base(string.Format("Kann Benutzer {0} nicht anmelden. Mailadresse unbekannt oder Passwort ungültig.", p_strMail), p_oResponse)
|
|||
|
{
|
|||
|
}
|
|||
|
|
|||
|
/// <summary> Holds error description if user/ password combination is not valid. </summary>
|
|||
|
public const string AUTH_FAILURE_STATUS_MESSAGE_UPPERCASE = "FAILURE: CANNOT GENERATE AUTHCOOKIE";
|
|||
|
}
|
|||
|
}
|