WangHan
2024-09-12 d5855a4926926698b740bc6c7ba489de47adb68b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
package tech.powerjob.server.auth.common;
 
import lombok.Getter;
import tech.powerjob.common.enums.ErrorCodes;
import tech.powerjob.common.exception.PowerJobException;
 
/**
 * 鉴权相关错误
 *
 * @author tjq
 * @since 2024/2/10
 */
@Getter
public class PowerJobAuthException extends PowerJobException {
 
    public PowerJobAuthException(ErrorCodes errorCode) {
        this(errorCode, null);
    }
 
    public PowerJobAuthException(ErrorCodes errorCode, String extraMsg) {
        super(errorCode, extraMsg);
    }
}