Skip to content

Create errorTranslator for common error messages #9

Description

@dushaobindoudou

Background

When an action fails we currently show raw error.message strings like ENOENT or AppleScript -1743 — users can't understand or fix these. Need a translator that maps common errors to friendly "what + why + what to do".

Acceptance

  • New electron/error-translator.ts exports translateError()
  • At least 10 common patterns mapped to friendly messages
  • Used in PendingActionsSection.tsx so users see friendly errors
  • At least 5 unit tests

Full brief: https://github.com/dushaobindoudou/ovo/blob/main/docs/GOOD_FIRST_ISSUES.md (issue #9)

⏱ ~2 h · 🏷 dx, philosophy: transparent

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or capabilitygood first issueGood for newcomers — has clear scope and acceptance criteriaphilosophy: transparentMakes Ovo's thinking more visible to users

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions