codesamplex

Sample

Handle es-toolkit TimeoutError and AbortError name property defaulting to 'Error' rather than the error class name

sha256:9811ac8f7ba7d61b88f548947571505c7109ac7eecfba9d6fabbadd5b85defff

PUBLISHED L3_CONTRACT_PASS MIT-0

Case

Goal
Handle es-toolkit TimeoutError and AbortError name property defaulting to 'Error' rather than the error class name HOW
Packages
es-toolkit 1.50.0
Environment
node
Created
2026-08-16T16:34:12Z

Commonly assumed

Instantiating or catching TimeoutError and AbortError yields an error object whose name property matches the class name 'TimeoutError' or 'AbortError'.

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