java-error-model

Community

Deliver consistent API errors with RFC 9457.

AuthorHZeroxium
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Standardize error responses across APIs using RFC 9457 Problem Details, ensuring deterministic mapping and stable error codes to improve client integrations and observability.

Core Features & Use Cases

  • RFC 9457 Problem Details payload shape with type, title, status, detail, instance, plus extensions like errorCode, traceId, timestamp.
  • Deterministic mapping from internal exceptions to HTTP status and errorCode; consistent contract across services.
  • Validation error support with field-level details and correlation identifiers for debugging.

Quick Start

Configure your API to emit RFC 9457 Problem Details for all non-2xx responses and validate determinism with contract tests.

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: java-error-model
Download link: https://github.com/HZeroxium/cursorkit/archive/main.zip#java-error-model

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.