ABP Exception Handling Skill

Community

Return safe ABP error responses with correct HTTP codes.

Authorburakdmir
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps you design ABP Framework error handling so API consumers receive consistent, safe, and actionable error payloads instead of leaking internal failures.

Core Features & Use Cases

  • Standardized RemoteServiceErrorResponse: Produces the expected JSON error shape for API/AJAX requests, including optional error codes and details.
  • Code, details, validation, and localization support: Guides implementing IHasErrorCode, IHasErrorDetails, and using AbpValidationException for structured validationErrors, plus localized messages for user-friendly output.
  • Correct HTTP status mapping + customization: Explains ABP’s default exception-to-status mapping and how to override it via AbpExceptionHandlingOptions.
  • Logging controls and self-logging: Covers automatic logging behavior, IHasLogLevel, and IExceptionWithSelfLogging for additional contextual logs without exposing sensitive data.

Quick Start

Ask your agent to explain and implement ABP exception handling for your API so RemoteServiceErrorResponse includes error codes and validation errors, maps exceptions to the right HTTP statuses, and avoids leaking stack traces in production.

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: ABP Exception Handling Skill
Download link: https://github.com/burakdmir/abp-skills/archive/main.zip#abp-exception-handling-skill

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 471,000+ vetted skills library on demand.