@shipstatic/drop 2.0.0-beta.9 → 2.0.0

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.
package/dist/index.js CHANGED
@@ -25,6 +25,17 @@ var ErrorType = {
25
25
  Business: "business_logic_error",
26
26
  /** API server error (500). Generic server-side fault. */
27
27
  Api: "internal_server_error",
28
+ /**
29
+ * The platform is closed for maintenance (503). A deliberate operator
30
+ * state, not a fault — nothing errored; the API is refusing work on
31
+ * purpose, and deployed sites keep serving throughout.
32
+ *
33
+ * Distinct from `Api` at 503, which the platform already uses for a
34
+ * dependency that failed (moderation unavailable). A consumer has to tell
35
+ * "we closed the door" from "something broke": the two get opposite words
36
+ * and opposite retry behaviour.
37
+ */
38
+ Maintenance: "maintenance",
28
39
  /** Network/connection error. Client-side only — set by HTTP clients on fetch failure; never produced server-side. */
29
40
  Network: "network_error",
30
41
  /** Operation was cancelled. Client-side only — set on `AbortSignal` abort; never produced server-side. */