Install any skill in seconds. Free to start, no credit card required.
Get Started Free →aiskillstore/allra-error-handling
Allra 백엔드 에러 핸들링 및 예외 처리 표준.
Passed 22 of 22 test cases with the skill, and 11 of 22 without it.
and 14 more in the full report
11 fixed11 passed either way0 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 11 test cases the skill fixed. Same model, same prompt, with and without the skill.
Provide sample JSON responses returned by our REST API for a missing user error and a validation error on an invalid email field, following our backend standard error JSON contract.
| Checked | Without skill | With skill |
|---|---|---|
| Error response JSON payload contains code, message, errors, and timestamp properties. | Missed | Passed |
| FieldError JSON elements contain field, rejectedValue, and message properties. | Missed | Passed |
The instructions your model reads when the skill loads.
Allra 백엔드 팀의 에러 핸들링, 예외 처리, 로깅 표준을 정의합니다.
// 최상위 비즈니스 예외
public abstract class BusinessException extends RuntimeException {
private final ErrorCode errorCode;
protected BusinessException(ErrorCode errorCode) {
super(errorCode.getMessage());
this.errorCode = errorCode;
}
protected BusinessException(ErrorCode errorCode, String message) {
super(message);
this.errorCode = errorCode;
}
public ErrorCode getErrorCode() {
return errorCode;
}
public int getStatus() {
return errorCode.getStatus();
}
}
// ErrorCode Enum (예시)
public enum ErrorCode {
// 400 Bad Request
INVALID_INPUT_VALUE(400, "E001", "잘못된 입력값입니다"),
// 401 Unauthorized
UNAUTHORIZED(401, "E101", "인증이 필요합니다"),
test cases passed, vs 11 / 22 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.