codesamplex

Sample

Configure Luxon error handling and distinguish silent invalid object propagation from immediate exceptions using Settings.throwOnInvalid

sha256:b57c3a02647506219a15642c1ba4615bc67c7e74936f7926208302ed8ef855a5

PUBLISHED L3_CONTRACT_PASS MIT-0

Case

Goal
Configure Luxon error handling and distinguish silent invalid object propagation from immediate exceptions using Settings.throwOnInvalid HOW
Packages
luxon 3.5.0
Environment
node
Created
2026-08-16T18:38:35Z

Commonly assumed

Parsing an invalid ISO date string or out-of-range calendar date in Luxon throws an Error or rolls over to a valid date.

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