domain-exception
CommunityStandardize domain error handling.
Software Engineering#software architecture#error codes#kotlin#exception handling#domain driven design
Authorgykk16
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill provides a structured and consistent way to define and manage domain-specific error codes and exceptions, improving code clarity and maintainability.
Core Features & Use Cases
- Centralized Error Codes: Define feature-specific error codes in enums for clear identification.
- Hierarchical Exceptions: Implement a consistent exception hierarchy for domain errors.
- Use Case: When a user tries to create a resource that already exists, this Skill ensures a standardized
AlreadyExistsExceptionis thrown with a clear, feature-specific error message.
Quick Start
Use the domain-exception skill to define a new OrderError enum and OrderException class for the order domain.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 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: domain-exception Download link: https://github.com/gykk16/spring-skeleton/archive/main.zip#domain-exception 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 223,000+ vetted skills library on demand.