rrezartprebreza/spring-boot-skills / skills/spring-boot-4/problem-details-rfc9457
problem-details-rfc9457
VerifiedUse when implementing exception mapping or RFC 9457 error responses in Spring Boot 4. Preserve an existing legacy error contract unless migration is requested.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 4.0 KB |
| agents/openai.yaml | config | 211 B |
| examples/bad-exception-handler.java | other | 1.6 KB |
| examples/good-exception-handler.java | other | 3.0 KB |
| templates/BusinessRuleViolationException.java | other | 358 B |
| templates/DomainException.java | other | 622 B |
| templates/InsufficientInventoryException.java | other | 513 B |
| templates/OrderNotFoundException.java | other | 366 B |
| templates/ProblemDetailExceptionHandler.java | other | 3.8 KB |
templates/BusinessRuleViolationException.java
View on GitHubpackage com.example.order.exception;
import com.example.common.exception.DomainException;
import org.springframework.http.HttpStatus;
public class BusinessRuleViolationException extends DomainException {
public BusinessRuleViolationException(String message) {
super("BUSINESS_RULE_VIOLATION", HttpStatus.UNPROCESSABLE_ENTITY, message);
}
}
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |