TemplateException.ErrorCodes Enum
- java.
lang. Object - java.
lang. Enum - com.
microsoft. semantickernel. templateengine. semantickernel. TemplateException. ErrorCodes
- com.
- java.
public enum TemplateException.ErrorCodes
extends java.lang.Enum<ErrorCodes>
Error codes for TemplateException.
Fields
| FUNCTION_NOT_FOUND |
The template requires an unknown function. |
| RUNTIME_ERROR |
The template execution failed, e. |
| SYNTAX_ERROR |
Syntax error, the template syntax used is not valid. |
| UNEXPECTED_BLOCK_TYPE |
The block type produced be the tokenizer was not expected. |
| UNKNOWN_ERROR |
Unknown error. |
Methods inherited from java.lang.Enum
Methods inherited from java.lang.Object
Methods
getMessage()
public String getMessage()
Gets the message for the error code.
Returns
valueOf(String name)
public static TemplateException.ErrorCodes valueOf(String name)
Parameters
- name
- java.lang.String