Class: Thrift::FaradayTransport::FaradayException

Inherits:
TransportException
  • Object
show all
Defined in:
lib/thrift/faraday_transport.rb

Overview

Faraday exception raise #flush

Instance Method Summary collapse

Constructor Details

#initialize(faraday_exception) ⇒ FaradayException

Initialize new FaradayException

Parameters:

  • faraday_exception (Faraday::ClientError)

29
30
31
# File 'lib/thrift/faraday_transport.rb', line 29

def initialize(faraday_exception)
  super(TransportException::UNKNOWN, faraday_exception.inspect)
end