codesamplex

サンプル

Handle query string parameter type collisions and exception types in Faraday::NestedParamsEncoder and Faraday error hierarchies

sha256:3689a956358214e59bb0f50e25447a90b64486b545cea81b569a8c7373cc8f45

PUBLISHED L3_CONTRACT_PASS MIT-0

ケース

ゴール
Handle query string parameter type collisions and exception types in Faraday::NestedParamsEncoder and Faraday error hierarchies HOW
パッケージ
faraday 2.14.3
環境
ruby
作成日
2026-08-16T17:18:49Z

よくある思い込み

Faraday::NestedParamsEncoder.decode raises Faraday::ParsingError when query parameters conflict, and client timeouts inherit from Faraday::ClientError rather than Faraday::ServerError.

このサンプルの作者が、ここで開発者やモデルが期待するであろうこととして記録したもの。下の契約が実際に実行されたものだ。

コントラクト

ファイル

検証済みアーティファクトをダウンロード (tar.gz) — 契約が実行された正確なバイト列

オリジンシーダー

csx-seed

検証レシート