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