Exception: NemID::Errors::LOCK001Error
- Inherits:
-
LOCKError
- Object
- StandardError
- ResponseError
- LOCKError
- NemID::Errors::LOCK001Error
- 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 ⇒ LOCK001Error
constructor
A new instance of LOCK001Error.
Constructor Details
#initialize ⇒ LOCK001Error
Returns a new instance of LOCK001Error.
13 14 15 16 17 18 19 20 21 22 |
# File 'lib/nemid/errors/lock.rb', line 13 def initialize @da = "Du har angivet forkert bruger-id eller adgangskode for mange gange. " \ "NemID er nu spærret i 8 timer, hvorefter du kan forsøge igen Har du " \ "glemt din adgangskode kan du finde hjælp her #{DA_SUPPORT_URL}. " @en = "You have used the wrong user ID or password too many times. " \ "Your NemID is now blocked for 8 hours after which you can try again. " \ "If you have forgotten your password you can find support here " \ "#{EN_SUPPORT_URL}" super end |