Enum PlanningException.ErrorCodes
- java.lang.Object
-
- java.lang.Enum<PlanningException.ErrorCodes>
-
- com.microsoft.semantickernel.planner.PlanningException.ErrorCodes
-
- All Implemented Interfaces:
Serializable,Comparable<PlanningException.ErrorCodes>
- Enclosing class:
- PlanningException
public static enum PlanningException.ErrorCodes extends Enum<PlanningException.ErrorCodes>
Error codes for PlanningException
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INVALID_CONFIGURATIONINVALID_GOALINVALID_PLANPLAN_EXECUTION_PRODUCED_NO_RESULTSUNKNOWN_ERROR
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetMessage()static PlanningException.ErrorCodesvalueOf(String name)Returns the enum constant of this type with the specified name.static PlanningException.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 PlanningException.ErrorCodes UNKNOWN_ERROR
-
INVALID_GOAL
public static final PlanningException.ErrorCodes INVALID_GOAL
-
INVALID_PLAN
public static final PlanningException.ErrorCodes INVALID_PLAN
-
INVALID_CONFIGURATION
public static final PlanningException.ErrorCodes INVALID_CONFIGURATION
-
PLAN_EXECUTION_PRODUCED_NO_RESULTS
public static final PlanningException.ErrorCodes PLAN_EXECUTION_PRODUCED_NO_RESULTS
-
-
Method Detail
-
values
public static PlanningException.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 (PlanningException.ErrorCodes c : PlanningException.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 PlanningException.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()
-
-