adonisjs-exceptions
CommunityAdonisJS exceptions with self-contained responses
Software Engineering#logging#error-handling#exception#domain-errors#factory-method#adonisjs#http-response
Authoromakei
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Custom exceptions with static factories and self-contained HTTP responses standardize error handling in AdonisJS applications, ensuring consistent messages, statuses, and reusable patterns across services and controllers.
Core Features & Use Cases
- Static factory methods for descriptive, contextual errors.
- Self-contained HTTP response handling via handle() and structured reporting via report().
- Clear guidance for organizing exceptions in app/exceptions/ with per-exception behavior.
Quick Start
Create a new OrderException by extending the base Exception, add static factories for each failure, and implement handle() to return a per-error HTTP response.
Dependency Matrix
Required Modules
None requiredComponents
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: adonisjs-exceptions Download link: https://github.com/omakei/adonisjs-architecture-skill/archive/main.zip#adonisjs-exceptions Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.