feat: 添加流水分析API异常类

This commit is contained in:
wkc
2026-03-02 09:59:28 +08:00
parent a6b36241aa
commit 51f5bc58c7

View File

@@ -0,0 +1,26 @@
package com.ruoyi.lsfx.exception;
/**
* 流水分析平台API异常
*/
public class LsfxApiException extends RuntimeException {
private String errorCode;
public LsfxApiException(String message) {
super(message);
}
public LsfxApiException(String message, Throwable cause) {
super(message, cause);
}
public LsfxApiException(String errorCode, String message) {
super(message);
this.errorCode = errorCode;
}
public String getErrorCode() {
return errorCode;
}
}