@arcforge/err 2.0.142 → 2.0.143
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/package.json +2 -2
- package/src/map.ts +32 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arcforge/err",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.143",
|
|
4
4
|
"description": "Structured Axon errors — the code map every user-facing failure is rendered from.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"private": false,
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"deploy": "echo \"This package is published ONLY by apps/tui/scripts/release.ts, which pins workspace:* deps to concrete versions first. Publishing it directly ships an unresolvable dependency.\" && exit 1"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@arcforge/types": "2.0.
|
|
18
|
+
"@arcforge/types": "2.0.143"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
21
|
"@types/bun": "latest",
|
package/src/map.ts
CHANGED
|
@@ -1913,6 +1913,38 @@ export const errorMap = {
|
|
|
1913
1913
|
severity: "degraded",
|
|
1914
1914
|
expected: true,
|
|
1915
1915
|
},
|
|
1916
|
+
COMPONENT_NAME_TAKEN: {
|
|
1917
|
+
code: "AX-EXT-030",
|
|
1918
|
+
title: "Component Already Registered",
|
|
1919
|
+
description: "Two sources registered the same line component name. The first one loaded keeps it — your own config beats any extension. A silently shadowed component would render someone else's value under your name, so the second registration fails instead. Component names are `provider:name`; pick a prefix of your own.",
|
|
1920
|
+
source: "tui",
|
|
1921
|
+
severity: "degraded",
|
|
1922
|
+
expected: true,
|
|
1923
|
+
},
|
|
1924
|
+
COMPONENT_UNKNOWN: {
|
|
1925
|
+
code: "AX-EXT-031",
|
|
1926
|
+
title: "No Such Component",
|
|
1927
|
+
description: "A line named a component that is not registered. Caught when the line is created rather than when it paints, because a missing component renders as an empty gap — which reads as a layout bug instead of a typo, and gives no clue which name was wrong. components.list() returns everything available.",
|
|
1928
|
+
source: "tui",
|
|
1929
|
+
severity: "degraded",
|
|
1930
|
+
expected: true,
|
|
1931
|
+
},
|
|
1932
|
+
LINE_NAME_TAKEN: {
|
|
1933
|
+
code: "AX-EXT-032",
|
|
1934
|
+
title: "Line Already Registered",
|
|
1935
|
+
description: "Two sources registered the same line name. The first one loaded keeps it, the same rule commands and key chords follow.",
|
|
1936
|
+
source: "tui",
|
|
1937
|
+
severity: "degraded",
|
|
1938
|
+
expected: true,
|
|
1939
|
+
},
|
|
1940
|
+
LINE_UNKNOWN: {
|
|
1941
|
+
code: "AX-EXT-033",
|
|
1942
|
+
title: "No Such Line",
|
|
1943
|
+
description: "lines.set(), move(), show(), hide() or toggle() named a line that is not registered. Doing nothing would be indistinguishable from a line that registered and then rendered empty, so this fails instead. lines.list() returns what exists.",
|
|
1944
|
+
source: "tui",
|
|
1945
|
+
severity: "degraded",
|
|
1946
|
+
expected: true,
|
|
1947
|
+
},
|
|
1916
1948
|
COMMAND_PATH_TAKEN: {
|
|
1917
1949
|
code: "AX-EXT-020",
|
|
1918
1950
|
title: "Command Already Registered",
|