Join our community: https://t.me/+DOylgFv1jyJlNzM0
Why this matters
errors.rs defines the StreamError enum consumed by both the contract and the indexer, but individual variants have no doc comments, so callers have to grep call sites to understand when each error fires.
Acceptance criteria
Files to touch
contracts/stream_contract/src/errors.rs
contracts/stream_contract/src/lib.rs
Out of scope
Does not add, remove, or renumber error variants.
Why this matters
errors.rs defines the StreamError enum consumed by both the contract and the indexer, but individual variants have no doc comments, so callers have to grep call sites to understand when each error fires.
Acceptance criteria
Files to touch
contracts/stream_contract/src/errors.rscontracts/stream_contract/src/lib.rsOut of scope
Does not add, remove, or renumber error variants.