Sha256: 2650178f166eeccea7289c6bf703518deca114c0beb7bddda359fc2ba004e379
Contents?: true
Size: 314 Bytes
Versions: 17
Compression:
Stored size: 314 Bytes
Contents
module Inferno module DSL module TCPExceptionHandler def tcp_exception_handler(&block) block.call rescue Faraday::ConnectionFailed, SocketError => e e.message.include?('Failed to open TCP') ? raise(Exceptions::AssertionException, e.message) : raise(e) end end end end
Version data entries
17 entries across 17 versions & 1 rubygems