Exception: NemID::Errors::LOCK002Error
- Inherits:
-
LOCKError
- Object
- StandardError
- ResponseError
- LOCKError
- NemID::Errors::LOCK002Error
- Defined in:
- lib/nemid/errors/lock.rb
Constant Summary
Constants inherited from LOCKError
NemID::Errors::LOCKError::DA_SUPPORT_URL, NemID::Errors::LOCKError::EN_SUPPORT_URL
Instance Attribute Summary
Attributes inherited from ResponseError
Instance Method Summary collapse
-
#initialize ⇒ LOCK002Error
constructor
A new instance of LOCK002Error.
Constructor Details
#initialize ⇒ LOCK002Error
Returns a new instance of LOCK002Error.
26 27 28 29 30 31 32 33 34 |
# File 'lib/nemid/errors/lock.rb', line 26 def initialize @da = "Du har angivet en forkert adgangskode for mange gange. " \ "Dit NemID er spærret. Kontakt NemID support for at få adgang til dit " \ "NemID igen. #{DA_SUPPORT_URL}" @en = "You have used a wrong password too many times. Your NemID is " \ "blocked and cannot be used. To get help with this problem, Please contact " \ "NemID support. #{EN_SUPPORT_URL}" super end |