Exception: NemID::Errors::APPError

Inherits:
ResponseError show all
Defined in:
lib/nemid/errors/app.rb

Instance Attribute Summary

Attributes inherited from ResponseError

#da, #en

Instance Method Summary collapse

Constructor Details

#initialize(msg = '', sp = 'support') ⇒ APPError

Returns a new instance of APPError.



4
5
6
7
8
9
10
# File 'lib/nemid/errors/app.rb', line 4

def initialize(msg='', sp='support')
  @da = "Der er opstået en teknisk fejl. Forsøg igen. Kontakt #{sp}, hvis " \
  "problemet fortsætter."
  @en = "A technical error has occurred. Please try again. Contact #{sp} if " \
  "the problem persists"
  super(msg)
end