Exception: HealthCards::InvalidParametersError
- Inherits:
-
HealthCardError
- Object
- StandardError
- HealthCardsError
- HealthCardError
- HealthCards::InvalidParametersError
- Defined in:
- lib/health_cards/errors.rb
Overview
Error thrown when FHIR Parameters are invalid
Instance Attribute Summary collapse
-
#code ⇒ Object
readonly
Returns the value of attribute code.
Instance Method Summary collapse
-
#initialize(code: nil, message: nil) ⇒ InvalidParametersError
constructor
A new instance of InvalidParametersError.
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() end |
Instance Attribute Details
#code ⇒ Object (readonly)
Returns the value of attribute code.
53 54 55 |
# File 'lib/health_cards/errors.rb', line 53 def code @code end |