salvo-error-handling

Official

Graceful error handling for Salvo APIs.

Authorsalvo-rs
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Provides a structured approach to error handling in Salvo-based web APIs, ensuring consistent error responses, clear diagnostics, and safer control flow across handlers.

Core Features & Use Cases

  • Custom error types with Writer implementations to render standardized JSON error payloads.
  • StatusError-based maps to HTTP status codes for business and system errors.
  • Panic handling integration using CatchPanic to convert panics into controlled responses and logs.

Quick Start

Implement a custom error type, map it with StatusError in handlers, and apply CatchPanic for global safety.

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: salvo-error-handling
Download link: https://github.com/salvo-rs/salvo-skills/archive/main.zip#salvo-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.