Skip to content

Improve error handling and validation in store.edit()#5

Open
JeffSafier wants to merge 8 commits into
mate-academy:mainfrom
JeffSafier:review-me
Open

Improve error handling and validation in store.edit()#5
JeffSafier wants to merge 8 commits into
mate-academy:mainfrom
JeffSafier:review-me

Conversation

@JeffSafier

Copy link
Copy Markdown

Summary

  • Distinguish between ENOENT (no file) and other errors in load()
  • Add null check in edit() to return false if note not found
  • Update notes.js to handle edit() return value and show appropriate feedback

karynad-stack and others added 8 commits June 9, 2026 14:37
- Distinguish between ENOENT (no file) and other errors in load()
- Add null check in edit() to return false if note not found
- Update notes.js to handle edit() return value and show appropriate feedback

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants