Exception: NemID::Errors::AUTH011Error
- Inherits:
-
AUTHError
- Object
- StandardError
- ResponseError
- AUTHError
- NemID::Errors::AUTH011Error
- 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
Instance Method Summary collapse
-
#initialize(msg = '') ⇒ AUTH011Error
constructor
A new instance of AUTH011Error.
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 |