@plyaz/types 1.13.5 → 1.13.6

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.
@@ -876,7 +876,8 @@ var ERROR_CODES = {
876
876
  NOTIFICATION_INITIALIZATION_FAILED: "notification.initialization.failed",
877
877
  // ===== Errors Package Errors =====
878
878
  ERROR_SYSTEM_NOT_INITIALIZED: "error.system.not.initialized",
879
- EVENT_FACTORY_NOT_REGISTERED: "error.event.factory.not.registered"
879
+ EVENT_FACTORY_NOT_REGISTERED: "error.event.factory.not.registered",
880
+ DATABASE_ERROR: "error.database"
880
881
  };
881
882
  var API_ERROR_CODES = {
882
883
  CLIENT_INITIALIZATION_FAILED: ERROR_CODES.CLIENT_INITIALIZATION_FAILED,
@@ -1834,6 +1835,14 @@ var ERROR_DEFINITIONS = {
1834
1835
  severity: ERROR_SEVERITY.High,
1835
1836
  retryable: false,
1836
1837
  userMessage: "errors.event.factory.not_registered"
1838
+ },
1839
+ [ERROR_CODES.DATABASE_ERROR]: {
1840
+ code: ERROR_CODES.DATABASE_ERROR,
1841
+ status: Ue.INTERNAL_SERVER_ERROR,
1842
+ category: ERROR_CATEGORY.Server,
1843
+ severity: ERROR_SEVERITY.High,
1844
+ retryable: false,
1845
+ userMessage: "errors.database"
1837
1846
  }
1838
1847
  };
1839
1848