Sha256: 45a2dc6b873b55a2b0641a543bff47f9bb535d56a14974404f4d9a84af0daf57
Contents?: true
Size: 329 Bytes
Versions: 46
Compression:
Stored size: 329 Bytes
Contents
module Inferno module DSL # @private 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
46 entries across 46 versions & 1 rubygems