@gluecharm-lab/easyspecs-cli 0.0.24 → 0.0.26
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/README.md +1 -1
- package/commands.md +21 -2
- package/dist/main.cjs +960 -425
- package/dist/main.cjs.map +4 -4
- package/error-code.md +2 -0
- package/package.json +1 -1
package/error-code.md
CHANGED
|
@@ -23,6 +23,8 @@ These are the **only** integers the CLI returns. Everything else (**`5.3`**, **`
|
|
|
23
23
|
| **99** | `internal` | Unexpected internal CLI error. |
|
|
24
24
|
| **other** | — | Treated as unknown failure; see stderr and JSON **`error`**. |
|
|
25
25
|
|
|
26
|
+
**SRS-61:** Failures thrown as plain-object **`HttpApiError`** from authenticated **`requestJson`** (HTTP non-OK, missing **`apiBaseUrl`**, etc.) are formatted with a readable **`error`** string (never **`[object Object]`**). When the value includes a numeric **`status`**, the CLI may exit **6** (**auth**, e.g. **401**), **7** (**upload**, **400–599** except **401**), or **3** (**misconfiguration**, **`status === 0`**) instead of **99**. **99** remains for throws that are not that shape (true unexpected errors). |
|
|
27
|
+
|
|
26
28
|
**Default human line** when **`factoryFailures`** is absent (from **`describeExitCode`** in **`exitCodes.ts`**):
|
|
27
29
|
|
|
28
30
|
| Code | One-line summary |
|
package/package.json
CHANGED