server-error-handling

Community

Safe, consistent server error handling

AuthorCatOfJupit3r
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Standardizes server-side error handling by wrapping errors with typed codes using the ORPC error wrappers.

Core Features & Use Cases

  • Ensures all errors are wrapped with predefined error codes to prevent leakage and provide uniform responses.
  • Provides clear access-control patterns (UNAUTHORIZED, NOT_FOUND, FORBIDDEN) and guidance for adding new error codes.
  • Includes example patterns and integration guidance to reduce boilerplate and mistakes in protected procedures.

Quick Start

Follow the patterns in examples/error-handling-patterns.ts to wrap errors with the provided ORPC wrappers in your protected handlers.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: server-error-handling
Download link: https://github.com/CatOfJupit3r/ultimate-starter/archive/main.zip#server-error-handling

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.