error-handling

Standardize error handling across backend and frontend applications with AppError classes.

Updated Jan 10, 2026
One-click install
npx skills add https://github.com/Junior-Frontend-dev/Hi-u-ng --skill error-handling-junior-frontend-dev
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: error-handling
Source: https://github.com/Junior-Frontend-dev/Hi-u-ng/tree/main/.claude/skills/implementation/error-handling
Command: npx skills add https://github.com/Junior-Frontend-dev/Hi-u-ng --skill error-handling-junior-frontend-dev

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Ensure consistent, informative error handling across backend and frontend.

Core Features & Use Cases

  • Centralized AppError hierarchy with backend error handling and frontend error boundaries.
  • Standardized logging and error reporting for both server and client.
  • Guidelines and examples for implementing error handling across APIs and UIs.

Quick Start

Integrate the AppError classes and error handling patterns into your stack, wiring backend middleware and frontend error boundaries to standardize error reporting, handling, and user feedback.

Frequently Asked Questions about error-handling

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I standardize error handling across frontend and backend applications?

Standardize error handling by implementing a centralized AppError class hierarchy alongside backend middleware and frontend error boundaries. This provides consistent error reporting and user feedback across API services and web UIs.

What is the best way to implement frontend error boundaries with backend middleware?

The best way to implement error boundaries and backend middleware is wiring them to a centralized AppError class hierarchy. This standardizes server-side and client-side error handlers for unified logging and reporting.

How do I create a consistent error class hierarchy for API services and web UIs?

Create a consistent error class hierarchy by defining an AppError base class for both API services and web UIs. This satisfies standardized logging guidelines and integrates backend error handling with frontend boundaries.

Does this error handling approach work for both service layers and client-side UIs?

Yes, this error handling approach works for both service layers and client-side UIs. It applies standardized error classes and logging guidelines across backend API services and frontend web UIs to ensure informative reporting.

Why do I need standardized logging and error reporting for server and client applications?

Standardized logging and error reporting are needed to ensure consistent, informative error handling across backend and frontend. This provides a unified error class hierarchy and boundaries for reliable application monitoring.

How do I wire backend middleware and frontend error boundaries into my stack?

Wire backend middleware and frontend error boundaries by integrating AppError classes into your stack. This standardizes error reporting, handling, and user feedback across server-side and client-side application layers.