#16

docs(error): add _error renaming pattern for unused parameters

Openastro-fusionwants to merge intofrom

Error Handling & Linting

Description

This PR adds documentation for the _error renaming pattern to satisfy strict monorepo linting rules.

Changes

  • Unused Parameters: Documentation on renaming unused catch parameters to _error.
  • Pattern Matching: Example showing how this satisfies @typescript-eslint/no-unused-vars while maintaining code readability and safe error handling.

Rationale

Many enterprise-scale monorepos enforce strict linting that prevents unused variables. In scenarios where an error is caught but not used (e.g. returning a generic UI failure message), the _error prefix is the standard convention to bypass these checks without compromising safety.