@constructive-io/errors 0.10.0 → 0.11.1

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/esm/registry.d.ts CHANGED
@@ -10,6 +10,7 @@ export { type DefinedError, defineError } from './define';
10
10
  * code is present via generation; these just refine a subset.
11
11
  */
12
12
  export declare const registry: {
13
+ readonly STORAGE_BUCKET_NOT_RECONCILED: import("./define").DefinedError<import("./types").EmptyContext>;
13
14
  readonly ACCOUNT_EXISTS: import("./define").DefinedError<import("./types").EmptyContext>;
14
15
  readonly ACCOUNT_NOT_FOUND: import("./define").DefinedError<import("./types").EmptyContext>;
15
16
  readonly NO_ACCOUNT_EXISTS: import("./define").DefinedError<{
package/esm/registry.js CHANGED
@@ -11,6 +11,12 @@ export { defineError } from './define';
11
11
  * code is present via generation; these just refine a subset.
12
12
  */
13
13
  export const registry = {
14
+ STORAGE_BUCKET_NOT_RECONCILED: defineError({
15
+ code: 'STORAGE_BUCKET_NOT_RECONCILED',
16
+ class: 'public',
17
+ http: 409,
18
+ message: 'The storage bucket has not yet been reconciled.'
19
+ }),
14
20
  // ===========================================================================
15
21
  // Auth / account (public) — copy sourced from dashboard auth-errors.ts
16
22
  // ===========================================================================
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@constructive-io/errors",
3
- "version": "0.10.0",
3
+ "version": "0.11.1",
4
4
  "author": "Constructive <developers@constructive.io>",
5
5
  "description": "Canonical Constructive error system: registry, codes, i18n messages, and cross-source (PostgreSQL/GraphQL/client) parsing. Zero runtime dependencies.",
6
6
  "main": "index.js",
@@ -41,5 +41,5 @@
41
41
  "makage": "^0.3.0",
42
42
  "ts-node": "^10.9.2"
43
43
  },
44
- "gitHead": "43121004a8bedd2c5fcf7bf33208079d55bad01f"
44
+ "gitHead": "77d58bb93796be91d4e00156bb6847392584d3bc"
45
45
  }
package/registry.d.ts CHANGED
@@ -10,6 +10,7 @@ export { type DefinedError, defineError } from './define';
10
10
  * code is present via generation; these just refine a subset.
11
11
  */
12
12
  export declare const registry: {
13
+ readonly STORAGE_BUCKET_NOT_RECONCILED: import("./define").DefinedError<import("./types").EmptyContext>;
13
14
  readonly ACCOUNT_EXISTS: import("./define").DefinedError<import("./types").EmptyContext>;
14
15
  readonly ACCOUNT_NOT_FOUND: import("./define").DefinedError<import("./types").EmptyContext>;
15
16
  readonly NO_ACCOUNT_EXISTS: import("./define").DefinedError<{
package/registry.js CHANGED
@@ -17,6 +17,12 @@ Object.defineProperty(exports, "defineError", { enumerable: true, get: function
17
17
  * code is present via generation; these just refine a subset.
18
18
  */
19
19
  exports.registry = {
20
+ STORAGE_BUCKET_NOT_RECONCILED: (0, define_1.defineError)({
21
+ code: 'STORAGE_BUCKET_NOT_RECONCILED',
22
+ class: 'public',
23
+ http: 409,
24
+ message: 'The storage bucket has not yet been reconciled.'
25
+ }),
20
26
  // ===========================================================================
21
27
  // Auth / account (public) — copy sourced from dashboard auth-errors.ts
22
28
  // ===========================================================================