Enum Class DifyServerExceptionEnum
java.lang.Object
java.lang.Enum<DifyServerExceptionEnum>
io.github.guoshiqiufeng.dify.server.exception.DifyServerExceptionEnum
- All Implemented Interfaces:
io.github.guoshiqiufeng.dify.core.exception.BaseExceptionEnum,Serializable,Comparable<DifyServerExceptionEnum>,Constable
public enum DifyServerExceptionEnum
extends Enum<DifyServerExceptionEnum>
implements io.github.guoshiqiufeng.dify.core.exception.BaseExceptionEnum
- Since:
- 2025/3/11 14:24
- Version:
- 1.0
- Author:
- yanghq
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptiongetCode()getMsg()static DifyServerExceptionEnumReturns the enum constant of this class with the specified name.static DifyServerExceptionEnum[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DIFY_DATA_PARSING_FAILURE
数据解析失败 -
DIFY_API_ERROR
远程调用失败
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getCode
- Specified by:
getCodein interfaceio.github.guoshiqiufeng.dify.core.exception.BaseExceptionEnum
-
getMsg
- Specified by:
getMsgin interfaceio.github.guoshiqiufeng.dify.core.exception.BaseExceptionEnum
-