Exception: NemID::Errors::CAN001Error
- Inherits:
-
CANError
- Object
- StandardError
- ResponseError
- CANError
- NemID::Errors::CAN001Error
- Defined in:
- lib/nemid/errors/can.rb
Instance Attribute Summary
Attributes inherited from ResponseError
Instance Method Summary collapse
-
#initialize(msg = "Redirect the user to a sensible place, taking into " \ "account where the user is in the flow.") ⇒ CAN001Error
constructor
A new instance of CAN001Error.
Constructor Details
#initialize(msg = "Redirect the user to a sensible place, taking into " \ "account where the user is in the flow.") ⇒ CAN001Error
Returns a new instance of CAN001Error.
10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
# File 'lib/nemid/errors/can.rb', line 10 def initialize(msg="Redirect the user to a sensible place, taking into " \ "account where the user is in the flow.") @da = "Du har afbrudt aktiveringen efter du har brugt den midlertidige adgangskode. " \ "Din midlertidige adgangskode er ikke længere gyldig, og du skal bestille " \ "en ny midlertidig adgangskode, før du kan aktivere og bruge NemID. " \ "Den nye, midlertidige adgangskode kan du bestille via NemID-support " \ "[https://www.nemid.nu/dk-da/support/faa_hjaelp_til_nemid/kontakt/]." @en = "You have cancelled the activation of NemID after submitting the activation password. " \ "Your activation password is no longer valid, and you must request a new " \ "activation password before you can activate and use NemID. " \ "You can order your new activation password via NemID Support " \ "[https://www.nemid.nu/dk-en/support/contact/]" super end |