修改 UnsupportedMenuTypeException 的错误码

This commit is contained in:
2023-09-10 16:47:53 +08:00
parent b69983077a
commit 3bb5397c49
2 changed files with 7 additions and 1 deletions

View File

@@ -7,11 +7,13 @@ public class UnsupportedMenuTypeException extends InvalidInputException {
@java.io.Serial
private static final long serialVersionUID = -769169844015637730L;
public static final String ERROR_CODE = "4040209";
public UnsupportedMenuTypeException() {
this("不支持的菜单类型");
}
public UnsupportedMenuTypeException(String message) {
super(message);
super(ERROR_CODE, message);
}
}