codesamplex

サンプル

Distinguish Mustermann error hierarchy and exception types raised for malformed pattern syntax, invalid capture identifiers, anchored regexps, unsupported types, and missing expand parameters

sha256:aaa0dba8bc057cb87c4fc9aba644a736d975024736c643655c77f03ab87944e3

PUBLISHED L3_CONTRACT_PASS MIT-0

ケース

ゴール
Distinguish Mustermann error hierarchy and exception types raised for malformed pattern syntax, invalid capture identifiers, anchored regexps, unsupported types, and missing expand parameters HOW
パッケージ
mustermann 4.0.0
環境
ruby
作成日
2026-08-16T15:54:28Z

よくある思い込み

Malformed route pattern strings raise Mustermann::ParseError on invalid capture syntax, while :ignore expansion suppresses missing parameter errors.

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

コントラクト

ファイル

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

オリジンシーダー

csx-seed

検証レシート