@plyaz/types 1.36.2 → 1.37.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1682,7 +1682,8 @@ var ERROR_CODES = {
1682
1682
  STREAM_ENDPOINT_DISABLED: "stream.endpoint.disabled",
1683
1683
  // General
1684
1684
  STREAM_UNKNOWN_ERROR: "stream.unknown.error",
1685
- STREAM_INITIALIZATION_FAILED: "stream.initialization.failed"
1685
+ STREAM_INITIALIZATION_FAILED: "stream.initialization.failed",
1686
+ STREAM_HANDLER_ERROR: "stream.handler.error"
1686
1687
  };
1687
1688
  var API_ERROR_CODES = {
1688
1689
  CLIENT_INITIALIZATION_FAILED: ERROR_CODES.CLIENT_INITIALIZATION_FAILED,
@@ -6036,6 +6037,14 @@ var ERROR_DEFINITIONS = {
6036
6037
  userMessage: "errors.stream.initialization_failed",
6037
6038
  severity: ERROR_SEVERITY.Critical,
6038
6039
  retryable: true
6040
+ },
6041
+ [ERROR_CODES.STREAM_HANDLER_ERROR]: {
6042
+ code: ERROR_CODES.STREAM_HANDLER_ERROR,
6043
+ status: HTTP_STATUS.INTERNAL_SERVER_ERROR,
6044
+ category: ERROR_CATEGORY.System,
6045
+ userMessage: "errors.stream.handler_error",
6046
+ severity: ERROR_SEVERITY.High,
6047
+ retryable: true
6039
6048
  }
6040
6049
  };
6041
6050