Package com.microsoft.semantickernel
Enum KernelException.ErrorCodes
- java.lang.Object
-
- java.lang.Enum<KernelException.ErrorCodes>
-
- com.microsoft.semantickernel.KernelException.ErrorCodes
-
- All Implemented Interfaces:
Serializable,Comparable<KernelException.ErrorCodes>
- Enclosing class:
- KernelException
public static enum KernelException.ErrorCodes extends Enum<KernelException.ErrorCodes>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetMessage()static KernelException.ErrorCodesvalueOf(String name)Returns the enum constant of this type with the specified name.static KernelException.ErrorCodes[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UnknownError
public static final KernelException.ErrorCodes UnknownError
-
InvalidFunctionDescription
public static final KernelException.ErrorCodes InvalidFunctionDescription
-
FunctionOverloadNotSupported
public static final KernelException.ErrorCodes FunctionOverloadNotSupported
-
FunctionNotAvailable
public static final KernelException.ErrorCodes FunctionNotAvailable
-
FunctionTypeNotSupported
public static final KernelException.ErrorCodes FunctionTypeNotSupported
-
InvalidFunctionType
public static final KernelException.ErrorCodes InvalidFunctionType
-
InvalidServiceConfiguration
public static final KernelException.ErrorCodes InvalidServiceConfiguration
-
ServiceNotFound
public static final KernelException.ErrorCodes ServiceNotFound
-
SkillCollectionNotSet
public static final KernelException.ErrorCodes SkillCollectionNotSet
-
FunctionInvokeError
public static final KernelException.ErrorCodes FunctionInvokeError
-
-
Method Detail
-
values
public static KernelException.ErrorCodes[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (KernelException.ErrorCodes c : KernelException.ErrorCodes.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static KernelException.ErrorCodes valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
getMessage
public String getMessage()
-
-