Exception: NemID::Errors::AUTH007Error

Inherits:
AUTHError show all
Defined in:
lib/nemid/errors/auth.rb

Constant Summary

Constants inherited from AUTHError

NemID::Errors::AUTHError::DA_SUPPORT_URL, NemID::Errors::AUTHError::EN_SUPPORT_URL

Instance Attribute Summary

Attributes inherited from ResponseError

#da, #en

Instance Method Summary collapse

Constructor Details

#initializeAUTH007Error

Returns a new instance of AUTH007Error.



66
67
68
69
70
71
72
# File 'lib/nemid/errors/auth.rb', line 66

def initialize
  @da = "Din NemID-adgangskode er spærret på grund af for mange fejlede forsøg. " \
  "Kontakt NemID support #{DA_SUPPORT_URL}."
  @en = "Your NemID password is blocked due to too many failed password attempts. " \
  "Please contact NemID support. #{EN_SUPPORT_URL}"
  super
end