You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/product/error-conventions.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -143,7 +143,7 @@ Rules:
143
143
-`ok` is always `false`
144
144
-`command` is always present
145
145
-`error.code` is stable and machine-readable
146
-
-`error.domain` is a stable logical area such as `cli`, `auth`, `project`, `branch`, `app`, or `database`
146
+
-`error.domain` is a stable logical area such as `cli`, `agent`, `auth`, `project`, `branch`, `app`, or `database`
147
147
-`error.severity` is stable and machine-readable
148
148
-`error.summary` is the short human-readable headline
149
149
-`error.why` explains the immediate cause when known
@@ -161,6 +161,7 @@ These codes are the minimum stable set for the MVP:
161
161
-`USAGE_ERROR`
162
162
-`AUTH_REQUIRED`
163
163
-`AUTH_CONFIG_INVALID`
164
+
-`AGENT_SKILLS_INSTALL_FAILED`
164
165
-`WORKSPACE_SWITCH_UNAVAILABLE`
165
166
-`WORKSPACE_NOT_AUTHENTICATED`
166
167
-`WORKSPACE_AMBIGUOUS`
@@ -222,6 +223,7 @@ Recommended meanings:
222
223
-`USAGE_ERROR`: invalid arguments or invalid command combination
223
224
-`AUTH_REQUIRED`: command needs an authenticated session
224
225
-`AUTH_CONFIG_INVALID`: environment auth configuration is present but unusable, such as an empty `PRISMA_SERVICE_TOKEN`
226
+
-`AGENT_SKILLS_INSTALL_FAILED`: installing Prisma skills through the external skills CLI failed; callers should inspect the command, exit code, and stderr in `error.meta`
225
227
-`WORKSPACE_SWITCH_UNAVAILABLE`: `PRISMA_SERVICE_TOKEN` is the active auth source, so local OAuth workspace switching cannot apply
226
228
-`WORKSPACE_NOT_AUTHENTICATED`: requested workspace is not present in the local OAuth credentials store for a switch/logout operation; callers should run `auth login` for that workspace
227
229
-`WORKSPACE_AMBIGUOUS`: requested workspace name matches more than one local OAuth workspace; callers should switch by workspace id
0 commit comments