Exception: NemID::Errors::AUTH011Error

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

#initialize(msg = '') ⇒ AUTH011Error

Returns a new instance of AUTH011Error.



109
110
111
112
113
114
115
116
117
118
119
# File 'lib/nemid/errors/auth.rb', line 109

def initialize(msg='')
  @da = "NemID på mobil understøtter ikke brug af midlertidig adgangskode. " \
  "Kontakt NemID support for atfå en ny kode udstedt. " \
  "#{DA_SUPPORT_URL}" \
  "Prøv derefter igen."
  @en = "NemID login on mobile does not support authentication using a " \
  "temporary password. Please contact NemID support to have a new temporary " \
  "password issued. #{EN_SUPPORT_URL} " \
  "Thereafter, please try again."
  super
end