Exception: HealthCards::InvalidParametersError

Inherits:
HealthCardError show all
Defined in:
lib/health_cards/errors.rb

Overview

Error thrown when FHIR Parameters are invalid

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(code: nil, message: nil) ⇒ InvalidParametersError

Returns a new instance of InvalidParametersError.



55
56
57
58
# File 'lib/health_cards/errors.rb', line 55

def initialize(code: nil, message: nil)
  @code = code
  super(message)
end

Instance Attribute Details

#codeObject (readonly)

Returns the value of attribute code.



53
54
55
# File 'lib/health_cards/errors.rb', line 53

def code
  @code
end