Exception: NemID::Errors::LOCK002Error

Inherits:
LOCKError show all
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

#da, #en

Instance Method Summary collapse

Constructor Details

#initializeLOCK002Error

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