shinnosuke
2026-09-21 7844f5af457ff3b7d3f8eeac8799e8d281e635a1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package com.talentcard.server.common;
 
public class BusinessException extends RuntimeException {
 
    private final ErrorCode errorCode;
 
    public BusinessException(ErrorCode errorCode, String message) {
        super(message);
        this.errorCode = errorCode;
    }
 
    public ErrorCode errorCode() {
        return errorCode;
    }
}