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
-
UNKNOWN_ERROR
public static final KernelException.ErrorCodes UNKNOWN_ERROR
-
INVALID_FUNCTION_DESCRIPTION
public static final KernelException.ErrorCodes INVALID_FUNCTION_DESCRIPTION
-
FUNCTION_OVERLOAD_NOT_SUPPORTED
public static final KernelException.ErrorCodes FUNCTION_OVERLOAD_NOT_SUPPORTED
-
FUNCTION_NOT_AVAILABLE
public static final KernelException.ErrorCodes FUNCTION_NOT_AVAILABLE
-
FUNCTION_TYPE_NOT_SUPPORTED
public static final KernelException.ErrorCodes FUNCTION_TYPE_NOT_SUPPORTED
-
FUNCTION_CONFIGURATION_ERROR
public static final KernelException.ErrorCodes FUNCTION_CONFIGURATION_ERROR
-
INVALID_FUNCTION_TYPE
public static final KernelException.ErrorCodes INVALID_FUNCTION_TYPE
-
INVALID_SERVICE_CONFIGURATION
public static final KernelException.ErrorCodes INVALID_SERVICE_CONFIGURATION
-
SERVICE_NOT_FOUND
public static final KernelException.ErrorCodes SERVICE_NOT_FOUND
-
SKILL_COLLECTION_NOT_SET
public static final KernelException.ErrorCodes SKILL_COLLECTION_NOT_SET
-
FUNCTION_INVOCATION_ERROR
public static final KernelException.ErrorCodes FUNCTION_INVOCATION_ERROR
-
-
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()
-
-