Exception: DeltavistaCrifDvaInterface::NotFoundError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/deltavista_crif_dva_interface/errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(error_code, error_text) ⇒ NotFoundError

Returns a new instance of NotFoundError.



14
15
16
17
# File 'lib/deltavista_crif_dva_interface/errors.rb', line 14

def initialize(error_code, error_text)
  @error_code = error_code
  @error_text = error_text
end

Instance Attribute Details

#error_codeObject (readonly)

Returns the value of attribute error_code.



12
13
14
# File 'lib/deltavista_crif_dva_interface/errors.rb', line 12

def error_code
  @error_code
end

#error_textObject (readonly)

Returns the value of attribute error_text.



12
13
14
# File 'lib/deltavista_crif_dva_interface/errors.rb', line 12

def error_text
  @error_text
end