[Contracts] errors.rs error variants lack doc comments describing when each is returned
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
- [ ] Add a doc comment above every StreamError variant explaining the triggering condition
- [ ] Cross-check each comment against actual usage in lib.rs to keep it accurate
Files to touch
contracts/stream_contract/src/errors.rscontracts/stream_contract/src/lib.rs
Out of scope
Does not add, remove, or renumber error variants.
@samkay1277 has applied to work on this issue as part of the Stellar Wave Program's 9th wave.
Hi team, I'm applying to work on this issue. I have strong experience with TypeScript, NestJS, and Soroban smart contracts. I will deliver clean, tested code following the acceptance criteria. Ready to start immediately.
ℹ️ Repo Maintainers: To accept this application, review their application or assign @samkay1277 to this issue.
@emarkees has applied to work on this issue as part of the Stellar Wave Program's 9th wave.
Hi, I can help resolve this issue. Pls assign
ℹ️ Repo Maintainers: To accept this application, review their application or assign @emarkees to this issue.
Congratulations, @emarkees! 🎉 Your application was accepted by the repo's maintainers, and the issue is due on September 30, 2026.
🧑💻 @emarkees: Please resolve the issue such that the repo's maintainers have enough time to review your contribution before the due date. You'll earn Points for completing the issue on-time, which will make you eligible for a share of the Stellar Wave Program's reward pool.
[!WARNING] When opening a PR, please link it to this issue to ensure it gets tracked accurately. Points are awarded when this issue is marked as completed by the maintainer.
🤠 Repo maintainers: Please keep an eye on the contributor's progress and review their work before the due date. You can manage this issue, including adjusting its complexity and points, here.
🌊 Happy Wave 🌊
🎉 This issue has been marked as completed on GrantFox!
@emarkees's PR #1600 was approved and merged by @K1NGD4VID.
🏆 @emarkees: You earned 35 FoxPoints for this contribution! Your current tier: Explorer (742 total points). Track your full progress on GrantFox.
👏 Great work, @emarkees! Keep contributing to LabsCrypt.
This issue has been completed by @emarkees as part of the Stellar Wave Program's 10th Wave 🥳
😎 @emarkees: You earned 150 Points for completing this issue! Once the Wave's rewards are finalized, you'll be eligible for a percentage of the Wave's reward pool based on the percentage of total points you've earned. Learn more here. You can also Leave a review to share your experience working on this issue.
🧑💻 Repo maintainers: How'd the contributor do? Leave a review to share your experience working with them.