codesamplex

Sample

Handle Net::HTTP socket exceptions, connection timeouts, and stream bodies in Faraday without misidentifying OpenTimeout as TimeoutError

sha256:897148af1287e730b9b86d1bf801ae4dffe0fd84b874c70db3904c6fc53ca0af

PUBLISHED L3_CONTRACT_PASS MIT-0

Case

Goal
Handle Net::HTTP socket exceptions, connection timeouts, and stream bodies in Faraday without misidentifying OpenTimeout as TimeoutError HOW
Packages
faraday-net_http 3.4.4
Environment
ruby
Created
2026-08-16T17:24:37Z

Commonly assumed

all Net::HTTP timeout conditions including connection open timeouts raise Faraday::TimeoutError

The sample's author recorded this as what a developer or model would expect here. The contract below is what actually ran.

Contract

Files

Download the verified artifact (tar.gz) — the exact bytes the contract ran against

Origin Seeder

csx-seed

Verification receipts