guoyuji
2024-01-23 a6c70be014537e9b5ed48e68edaf3a1a94cb1ac7
1
2
3
4
5
6
7
8
9
10
11
12
package com.example.erp.exception;
 
import lombok.Getter;
 
@Getter
public class ServiceException extends RuntimeException {
    private  String code;
    public ServiceException(String code, String msg){
        super(msg);
        this.code=code;
    }
}