Exception: NemID::Errors::AUTH020Error

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 = 'Retry with 2-factor login for user.') ⇒ AUTH020Error

Returns a new instance of AUTH020Error.



173
174
175
176
177
# File 'lib/nemid/errors/auth.rb', line 173

def initialize(msg='Retry with 2-factor login for user.')
  @da = "Kunne ikke logge ind med 1-faktor, prøv med 2-faktor login."
  @en = "Unable to login with 1-factor, please try with 2-factor login"
  super
end