Description
src/errors.ts defines the SDK's error class hierarchy but none of the classes have JSDoc explaining when they are thrown, what their fields mean, or how callers should handle them. This makes error handling documentation-poor for SDK consumers.
Acceptance Criteria
Context
- Target file:
src/errors.ts
- Documentation only; do not change class structure or inheritance
Description
src/errors.tsdefines the SDK's error class hierarchy but none of the classes have JSDoc explaining when they are thrown, what their fields mean, or how callers should handle them. This makes error handling documentation-poor for SDK consumers.Acceptance Criteria
/** */comments@exampleshowing how to catch and inspect each error classContext
src/errors.ts