Enum EFcPromptQueryError
- All Implemented Interfaces:
Serializable, Comparable<EFcPromptQueryError>
Enumeration of the possible error codes for the
EWorkflowNodeType.FC_PROMPT_QUERY action.- Since:
- 8.5.0
- Author:
- XIMA MEDIA GmbH
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionWhen an error occurred during the communication with the database.The query could not be executed due to an unknown error that cannot be classified further.When a file could not be read from the file system or written to the file system.The query could not be executed because its configuration is invalid.The query could not be executed because the parameters provided were invalid, e.g. when the query requires a value for a parameter but none was provided.The query could be executed, but the service returned an invalid or unexpected response with data that does not match the expected output parameters, e.g. when a required output parameter is missing in the response.When a file from the network could not be accessed.When a referenced file does not exist.When the prompt connection could not be found, usually because the entity was deleted in the formcycle backend.When the prompt query could not be found, usually because the entity was deleted in the formcycle backend.When the prompt query could be found, but the prompt service responsible for handling that type of query was not found.The query could not be executed because the rate limit for the prompt service has been exceeded.The prompt service refused to answer the request, e.g. due to a violation of its usage policy.The system refused to accept the response, e.g. due to unsafe content such as malware.The prompt service is currently unavailable (e.g. because of maintenance) or could not be reached (e.g. because of network issues).When the request to the prompt service lacks the required authorization to execute the query, e.g. when the API key is missing or invalid. -
Method Summary
Modifier and TypeMethodDescriptionstatic EFcPromptQueryErrorReturns the enum constant of this type with the specified name.static EFcPromptQueryError[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
DATABASE_ERROR
When an error occurred during the communication with the database. -
EXECUTION_FAILED
The query could not be executed due to an unknown error that cannot be classified further. -
FILE_SYSTEM_ERROR
When a file could not be read from the file system or written to the file system. -
INVALID_CONFIGURATION
The query could not be executed because its configuration is invalid. Note thatINVALID_INPUT_PARAMETERSrefers to the external parameters provided to the query, whereasINVALID_CONFIGURATIONrefers to the internal (backend) configuration of the prompt query or connection. -
INVALID_INPUT_PARAMETERS
The query could not be executed because the parameters provided were invalid, e.g. when the query requires a value for a parameter but none was provided. Note thatINVALID_INPUT_PARAMETERSrefers to the external parameters provided to the query, whereasINVALID_CONFIGURATIONrefers to the internal (backend) configuration of the prompt query or connection. -
INVALID_OUTPUT_PARAMETERS
The query could be executed, but the service returned an invalid or unexpected response with data that does not match the expected output parameters, e.g. when a required output parameter is missing in the response. -
NETWORK_ERROR
When a file from the network could not be accessed. -
NO_SOURCE_FILE_FOUND
When a referenced file does not exist. -
PROMPT_QUERY_NOT_FOUND
When the prompt query could not be found, usually because the entity was deleted in the formcycle backend. -
PROMPT_CONNECTION_NOT_FOUND
When the prompt connection could not be found, usually because the entity was deleted in the formcycle backend. -
PROMPT_SERVICE_NOT_FOUND
When the prompt query could be found, but the prompt service responsible for handling that type of query was not found. Usually happens when the prompt service was provided by a plugin that is no longer installed. -
RATE_LIMIT_EXCEEDED
The query could not be executed because the rate limit for the prompt service has been exceeded. -
REQUEST_REFUSED
The prompt service refused to answer the request, e.g. due to a violation of its usage policy. -
RESPONSE_REFUSED
The system refused to accept the response, e.g. due to unsafe content such as malware. -
SERVICE_UNAVAILABLE
The prompt service is currently unavailable (e.g. because of maintenance) or could not be reached (e.g. because of network issues). -
UNAUTHORIZED_PROMPT_REQUEST
When the request to the prompt service lacks the required authorization to execute the query, e.g. when the API key is missing or invalid. This implies authentication failures as well.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-