Exception: GraphWeaver::TransportError

Inherits:
Error
  • Object
show all
Defined in:
lib/graph_weaver/errors.rb

Overview

The request never reached the server: connection refused, DNS failure, TLS handshake, timeout. The original exception is preserved as #cause. Generally retriable.

Instance Method Summary collapse

Methods inherited from Error

#initialize

Constructor Details

This class inherits a constructor from GraphWeaver::Error

Instance Method Details

#to_hObject



34
35
36
# File 'lib/graph_weaver/errors.rb', line 34

def to_h
  super.merge("cause" => cause&.class&.name)
end