Exception: NemID::Errors::CAN006Error

Inherits:
CANError show all
Defined in:
lib/nemid/errors/can.rb

Instance Attribute Summary

Attributes inherited from ResponseError

#da, #en

Instance Method Summary collapse

Constructor Details

#initializeCAN006Error

Returns a new instance of CAN006Error.



64
65
66
67
68
69
70
71
72
73
# File 'lib/nemid/errors/can.rb', line 64

def initialize
  @da = "Du kan højst have ##MAXACTIVENMAS## aktive nøgleapps ad gangen. " \
  "Hvis du vil aktivere en ny nøgleapp, skal du først spærre en af dine " \
  "nuværende på nemid.nu eller ved at kontakte NemID support eller din bank"
  @en = "The maximum number of active code apps you can have at any time " \
  "is ##MAXACTIVENMAS##. If you wish to activate another code app, you must " \
  "first block one of your current code apps at nemid.nu or by contacting NemID " \
  "Support or your bank."
  super
end