Exception: ClientException

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/fhir_client/client_exception.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, reply = nil) ⇒ ClientException

Returns a new instance of ClientException.



4
5
6
7
# File 'lib/fhir_client/client_exception.rb', line 4

def initialize(message, reply = nil)
  super(message)
  @reply = reply
end

Instance Attribute Details

#replyObject

Returns the value of attribute reply.



2
3
4
# File 'lib/fhir_client/client_exception.rb', line 2

def reply
  @reply
end