UNPKG

central-error-codes

Version:

Centralized error codes for SDK

27 lines 966 B
{ "P2_SHUTDOWN_ERROR": { "errorCode": "P2_SHUTDOWN_ERROR", "statusCode": 500, "errorMessage": "An error occurred during system shutdown, preventing a graceful exit" }, "P2_METRIC_EVALUATION_ERROR": { "errorCode": "P2_METRIC_EVALUATION_ERROR", "statusCode": 500, "errorMessage": "Failed to evaluate performance metrics due to missing or invalid data" }, "P2_TIMED_OUT_ERROR": { "errorCode": "P2_TIMED_OUT_ERROR", "statusCode": 408, "errorMessage": "The request timed out due to prolonged processing or lack of response" }, "P2_EVALUATION_ERROR": { "errorCode": "P2_EVALUATION_ERROR", "statusCode": 500, "errorMessage": "An error occurred while evaluating the provided inputs or data" }, "P2_SCHEDULED_EVALUATION_ERROR":{ "errorCode": "P2_SCHEDULED_EVALUATION_ERROR", "statusCode": 500, "errorMessage": "An error occurred while creating scheduled evaluation" } }