1k-error-handling

Installation
SKILL.md

Error Handling

Best practices for error handling in OneKey codebase.

Core Principles

  • Use try/catch blocks for async operations that might fail
  • Provide appropriate error messages and fallbacks
  • Use useAsyncCall hook for operations needing loading/error states
  • Never swallow errors silently

Quick Reference

Installs
58
GitHub Stars
2.4K
First Seen
Feb 1, 2026
1k-error-handling — onekeyhq/app-monorepo