UNPKG

central-error-codes

Version:

Centralized error codes for SDK

83 lines (82 loc) 3.09 kB
{ "P2_EXTRACT_MSG_CONSTRUCTION_ERROR": { "errorCode": "P2_EXTRACT_MSG_CONSTRUCTION_ERROR", "statusCode": 500, "errorMessage": "Error constructing extracted message" }, "P2_EXTRACT_USER_QUERY_ERROR": { "errorCode": "P2_EXTRACT_USER_QUERY_ERROR", "statusCode": 500, "errorMessage": "Failed to extract user query data/information" }, "P2_EXTRACT_MSG_ERROR": { "errorCode": "P2_EXTRACT_MSG_ERROR", "statusCode": 500, "errorMessage": "Error encountered while extracting message" }, "P3_BUILD_DATA_ERROR": { "errorCode": "P3_BUILD_DATA_ERROR", "statusCode": 500, "errorMessage": "Error constructing data for POST request" }, "P2_LLM_PROCESSING_ERROR": { "errorCode": "P2_LLM_PROCESSING_ERROR", "statusCode": 500, "errorMessage": "Error processing LLM response" }, "P2_FLOWISE_PROCESS_ERROR": { "errorCode": "P2_FLOWISE_PROCESS_ERROR", "statusCode": 500, "errorMessage": "Error processing request in Flowise" }, "P2_FLOWISE_STR_RESPONSE_ERROR": { "errorCode": "P2_FLOWISE_STR_RESPONSE_ERROR", "statusCode": 500, "errorMessage": "Error generating string response from Flowise" }, "P2_FLOWISE_COMPLETION_ERROR": { "errorCode": "P2_FLOWISE_COMPLETION_ERROR", "statusCode": 500, "errorMessage": "Error in Flowise completion response" }, "P2_FLOWISE_ASYNC_COMPLETION_ERROR": { "errorCode": "P2_FLOWISE_ASYNC_COMPLETION_ERROR", "statusCode": 500, "errorMessage": "Error in asynchronous Flowise completion" }, "P2_FLOWISE_STREAMING_ERROR": { "errorCode": "P2_FLOWISE_STREAMING_ERROR", "statusCode": 500, "errorMessage": "Error encountered while streaming Flowise response" }, "P2_INNER_SOURCE_PROCESS_ERROR": { "errorCode": "P2_INNER_SOURCE_PROCESS_ERROR", "statusCode": 500, "errorMessage": "Error processing request in inner source" }, "P2_INNER_SOURCE_STR_RESPONSE_ERROR": { "errorCode": "P2_INNER_SOURCE_STR_RESPONSE_ERROR", "statusCode": 500, "errorMessage": "Error generating string response from inner source" }, "P2_INNER_SOURCE_COMPLETION_ERROR": { "errorCode": "P2_INNER_SOURCE_COMPLETION_ERROR", "statusCode": 500, "errorMessage": "Error in inner source completion response" }, "P2_INNER_SOURCE_ASYNC_COMPLETION_ERROR": { "errorCode": "P2_INNER_SOURCE_ASYNC_COMPLETION_ERROR", "statusCode": 500, "errorMessage": "Error in asynchronous inner source completion" }, "P2_INNER_SOURCE_STREAMING_ERROR": { "errorCode": "P2_INNER_SOURCE_STREAMING_ERROR", "statusCode": 500, "errorMessage": "Error encountered while streaming inner source response" }, "P2_LLM_APP_OUTPUT_ERROR": { "errorCode": "P2_LLM_APP_OUTPUT_ERROR", "statusCode": 500, "errorMessage": "Error generating LLM application output" } }