Exception: HealthCards::InvalidPayloadError

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

Overview

Exception thrown when an invalid payload is provided

Instance Method Summary collapse

Constructor Details

#initialize(msg = 'Bundle is not a valid FHIR Bundle') ⇒ InvalidPayloadError

Returns a new instance of InvalidPayloadError.



32
33
34
# File 'lib/health_cards/errors.rb', line 32

def initialize(msg = 'Bundle is not a valid FHIR Bundle')
  super(msg)
end