@constructive-io/errors 0.20.1 → 0.22.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/esm/generated/registry.generated.d.ts +3 -3
- package/esm/generated/registry.generated.js +60 -12
- package/esm/registry.d.ts +5 -0
- package/esm/registry.js +12 -0
- package/generated/registry.generated.d.ts +3 -3
- package/generated/registry.generated.js +60 -12
- package/package.json +2 -2
- package/registry.d.ts +5 -0
- package/registry.js +12 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* GENERATED FILE — DO NOT EDIT BY HAND.
|
|
3
3
|
*
|
|
4
|
-
* Source of truth: the constructive-db error audit (
|
|
4
|
+
* Source of truth: the constructive-db error audit (841 distinct codes
|
|
5
5
|
* raised via EXCEPTION/THROW across deploy sources + generated output).
|
|
6
6
|
* Regenerate with `python3 scripts/generate-registry.py` (see README.md).
|
|
7
7
|
*
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* codes carry their raw message (with %-args rendered as {{argN}}). Curated
|
|
10
10
|
* entries in `registry.ts` override anything here (typed context + refined copy).
|
|
11
11
|
*
|
|
12
|
-
* Counts:
|
|
12
|
+
* Counts: 841 total, 611 public, 230 internal.
|
|
13
13
|
*/
|
|
14
14
|
import { type DefinedError } from '../define';
|
|
15
15
|
import type { ErrorContext } from '../types';
|
|
@@ -24,4 +24,4 @@ export declare const generatedRegistry: Record<string, DefinedError<ErrorContext
|
|
|
24
24
|
/** Audit metadata for each generated code. */
|
|
25
25
|
export declare const GENERATED_CODE_META: Record<string, GeneratedCodeMeta>;
|
|
26
26
|
/** Total number of codes collected from constructive-db. */
|
|
27
|
-
export declare const GENERATED_CODE_COUNT =
|
|
27
|
+
export declare const GENERATED_CODE_COUNT = 841;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/**
|
|
3
3
|
* GENERATED FILE — DO NOT EDIT BY HAND.
|
|
4
4
|
*
|
|
5
|
-
* Source of truth: the constructive-db error audit (
|
|
5
|
+
* Source of truth: the constructive-db error audit (841 distinct codes
|
|
6
6
|
* raised via EXCEPTION/THROW across deploy sources + generated output).
|
|
7
7
|
* Regenerate with `python3 scripts/generate-registry.py` (see README.md).
|
|
8
8
|
*
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* codes carry their raw message (with %-args rendered as {{argN}}). Curated
|
|
11
11
|
* entries in `registry.ts` override anything here (typed context + refined copy).
|
|
12
12
|
*
|
|
13
|
-
* Counts:
|
|
13
|
+
* Counts: 841 total, 611 public, 230 internal.
|
|
14
14
|
*/
|
|
15
15
|
import { defineError } from '../define';
|
|
16
16
|
/** Every constructive-db error code, keyed by code. */
|
|
@@ -74,8 +74,11 @@ export const generatedRegistry = {
|
|
|
74
74
|
'BAD_RLS_EXPRESSION': defineError({ code: 'BAD_RLS_EXPRESSION', class: 'public', http: 400, message: 'Bad rls expression.' }),
|
|
75
75
|
'BAD_VIEW_EXPRESSION': defineError({ code: 'BAD_VIEW_EXPRESSION', class: 'public', http: 400, message: 'Bad view expression.' }),
|
|
76
76
|
'BEHAVIOR_FRAGMENT_EMPTY': defineError({ code: 'BEHAVIOR_FRAGMENT_EMPTY', class: 'internal', http: 500, message: 'Behavior fragment empty.' }),
|
|
77
|
+
'BILLING_CHECKOUT_BINDING_INVALID': defineError({ code: 'BILLING_CHECKOUT_BINDING_INVALID', class: 'internal', http: 500, message: 'Billing checkout binding invalid.' }),
|
|
78
|
+
'BILLING_DISABLED': defineError({ code: 'BILLING_DISABLED', class: 'public', http: 403, message: 'Billing disabled.' }),
|
|
77
79
|
'BILLING_DISPUTE_BALANCE_NOT_FOUND': defineError({ code: 'BILLING_DISPUTE_BALANCE_NOT_FOUND', class: 'internal', http: 500, message: 'Billing dispute balance not found.' }),
|
|
78
80
|
'BILLING_ENTITY_BUSY': defineError({ code: 'BILLING_ENTITY_BUSY', class: 'public', http: 400, message: 'Billing entity busy.' }),
|
|
81
|
+
'BILLING_GRANT_INVALID': defineError({ code: 'BILLING_GRANT_INVALID', class: 'public', http: 400, message: 'Billing grant invalid.' }),
|
|
79
82
|
'BILLING_HEALTH_INVALID': defineError({ code: 'BILLING_HEALTH_INVALID', class: 'internal', http: 500, message: 'Billing health invalid.' }),
|
|
80
83
|
'BILLING_NOT_READY': defineError({ code: 'BILLING_NOT_READY', class: 'public', http: 400, message: 'Billing not ready.' }),
|
|
81
84
|
'BILLING_OBSERVATION_INVALID': defineError({ code: 'BILLING_OBSERVATION_INVALID', class: 'internal', http: 500, message: 'Billing observation invalid.' }),
|
|
@@ -84,14 +87,19 @@ export const generatedRegistry = {
|
|
|
84
87
|
'BILLING_OPERATION_NOT_FOUND': defineError({ code: 'BILLING_OPERATION_NOT_FOUND', class: 'internal', http: 500, message: 'Billing operation not found.' }),
|
|
85
88
|
'BILLING_OPERATION_SETTLED': defineError({ code: 'BILLING_OPERATION_SETTLED', class: 'internal', http: 500, message: 'Billing operation settled.' }),
|
|
86
89
|
'BILLING_OPERATION_STATE_INVALID': defineError({ code: 'BILLING_OPERATION_STATE_INVALID', class: 'internal', http: 500, message: 'Billing operation state invalid.' }),
|
|
90
|
+
'BILLING_PAYER_UNRESOLVED': defineError({ code: 'BILLING_PAYER_UNRESOLVED', class: 'internal', http: 500, message: 'Billing payer unresolved.' }),
|
|
91
|
+
'BILLING_QUOTA_EXCEEDED': defineError({ code: 'BILLING_QUOTA_EXCEEDED', class: 'public', http: 400, message: 'Billing quota exceeded.' }),
|
|
87
92
|
'BILLING_RECONCILE_BOUNDS_REQUIRED': defineError({ code: 'BILLING_RECONCILE_BOUNDS_REQUIRED', class: 'internal', http: 500, message: 'Billing reconcile bounds required.' }),
|
|
88
93
|
'BILLING_SCHEDULED_CHANGE_INVALID': defineError({ code: 'BILLING_SCHEDULED_CHANGE_INVALID', class: 'internal', http: 500, message: 'Billing scheduled change invalid.' }),
|
|
94
|
+
'BILLING_SUBSCRIPTION_ACTIVE': defineError({ code: 'BILLING_SUBSCRIPTION_ACTIVE', class: 'public', http: 400, message: 'Billing subscription active.' }),
|
|
95
|
+
'BILLING_UNKNOWN_METER': defineError({ code: 'BILLING_UNKNOWN_METER', class: 'public', http: 400, message: 'Billing unknown meter.' }),
|
|
89
96
|
'BLUEPRINT_MODULE_NOT_INSTALLED': defineError({ code: 'BLUEPRINT_MODULE_NOT_INSTALLED', class: 'public', http: 400, message: 'Blueprint module not installed.' }),
|
|
90
97
|
'BLUEPRINT_MODULE_REF_AMBIGUOUS': defineError({ code: 'BLUEPRINT_MODULE_REF_AMBIGUOUS', class: 'public', http: 400, message: 'Blueprint module ref ambiguous.' }),
|
|
91
98
|
'BLUEPRINT_MODULE_REF_INVALID': defineError({ code: 'BLUEPRINT_MODULE_REF_INVALID', class: 'public', http: 400, message: 'Blueprint module ref invalid.' }),
|
|
92
99
|
'BLUEPRINT_MODULE_TABLE_UNKNOWN': defineError({ code: 'BLUEPRINT_MODULE_TABLE_UNKNOWN', class: 'public', http: 400, message: 'Blueprint module table unknown.' }),
|
|
93
100
|
'BM25': defineError({ code: 'BM25', class: 'public', http: 400, message: 'Bm25.' }),
|
|
94
101
|
'BOOTSTRAP_DATABASE_MISSING': defineError({ code: 'BOOTSTRAP_DATABASE_MISSING', class: 'internal', http: 500, message: 'Bootstrap database missing.' }),
|
|
102
|
+
'BOOTSTRAP_OWNER_NOT_ACTIVE': defineError({ code: 'BOOTSTRAP_OWNER_NOT_ACTIVE', class: 'internal', http: 500, message: 'Bootstrap owner not active.' }),
|
|
95
103
|
'BOOTSTRAP_SOURCE_MISSING': defineError({ code: 'BOOTSTRAP_SOURCE_MISSING', class: 'internal', http: 500, message: 'Bootstrap source missing.' }),
|
|
96
104
|
'BOOTSTRAP_TARGET_NOT_EMPTY': defineError({ code: 'BOOTSTRAP_TARGET_NOT_EMPTY', class: 'internal', http: 500, message: 'Bootstrap target not empty.' }),
|
|
97
105
|
'BUILD_CONDITION_EXPR': defineError({ code: 'BUILD_CONDITION_EXPR', class: 'internal', http: 500, message: 'Build condition expr.' }),
|
|
@@ -137,6 +145,7 @@ export const generatedRegistry = {
|
|
|
137
145
|
'CONSTRUCT_BLUEPRINT_PROVISIONS_WITHOUT_MODULE': defineError({ code: 'CONSTRUCT_BLUEPRINT_PROVISIONS_WITHOUT_MODULE', class: 'public', http: 400, message: 'Construct blueprint provisions without module.' }),
|
|
138
146
|
'CONSTRUCT_BLUEPRINT_SCHEMA_NOT_FOUND': defineError({ code: 'CONSTRUCT_BLUEPRINT_SCHEMA_NOT_FOUND', class: 'internal', http: 500, message: 'Construct blueprint schema not found.' }),
|
|
139
147
|
'CONSTRUCT_BLUEPRINT_STORAGE_ORG_MEMBERSHIP_NOT_FOUND': defineError({ code: 'CONSTRUCT_BLUEPRINT_STORAGE_ORG_MEMBERSHIP_NOT_FOUND', class: 'internal', http: 500, message: 'Construct blueprint storage org membership not found.' }),
|
|
148
|
+
'CONSTRUCT_BLUEPRINT_TABLES_ORG_MEMBERSHIP_NOT_FOUND': defineError({ code: 'CONSTRUCT_BLUEPRINT_TABLES_ORG_MEMBERSHIP_NOT_FOUND', class: 'internal', http: 500, message: 'Construct blueprint tables org membership not found.' }),
|
|
140
149
|
'CONST_TYPE_FIELDS_IMMUTABLE': defineError({ code: 'CONST_TYPE_FIELDS_IMMUTABLE', class: 'public', http: 403, message: 'Const type fields immutable.' }),
|
|
141
150
|
'CONTENT_PRESET_CATALOG_MISSING': defineError({ code: 'CONTENT_PRESET_CATALOG_MISSING', class: 'internal', http: 500, message: 'Content preset catalog missing.' }),
|
|
142
151
|
'CONTENT_PRESET_EMPTY': defineError({ code: 'CONTENT_PRESET_EMPTY', class: 'public', http: 400, message: 'Content preset empty.' }),
|
|
@@ -169,7 +178,7 @@ export const generatedRegistry = {
|
|
|
169
178
|
'DATABASE_TRANSFER_NOT_PENDING': defineError({ code: 'DATABASE_TRANSFER_NOT_PENDING', class: 'public', http: 400, message: 'Database transfer not pending.' }),
|
|
170
179
|
'DATABASE_TRANSFER_NOT_SOURCE_OWNER': defineError({ code: 'DATABASE_TRANSFER_NOT_SOURCE_OWNER', class: 'public', http: 400, message: 'Database transfer not source owner.' }),
|
|
171
180
|
'DATABASE_TRANSFER_NOT_TARGET_OWNER': defineError({ code: 'DATABASE_TRANSFER_NOT_TARGET_OWNER', class: 'public', http: 400, message: 'Database transfer not target owner.' }),
|
|
172
|
-
'DATA_BILLING_METER': defineError({ code: 'DATA_BILLING_METER', class: 'internal', http: 500, message: 'DATA_BILLING_METER: unknown event {{arg0}}, expected INSERT, DELETE, or
|
|
181
|
+
'DATA_BILLING_METER': defineError({ code: 'DATA_BILLING_METER', class: 'internal', http: 500, message: 'DATA_BILLING_METER: unknown event {{arg0}}, expected INSERT, DELETE, UPDATE, GATE or GATE_UPDATE', positional: ['arg0'] }),
|
|
173
182
|
'DATA_COMPOSITE_FIELD_PRIVATE_SCHEMA_NOT_FOUND': defineError({ code: 'DATA_COMPOSITE_FIELD_PRIVATE_SCHEMA_NOT_FOUND', class: 'public', http: 404, message: 'Data composite field private schema not found.' }),
|
|
174
183
|
'DATA_COMPOSITE_FIELD_SOURCE_FIELDS_EMPTY': defineError({ code: 'DATA_COMPOSITE_FIELD_SOURCE_FIELDS_EMPTY', class: 'public', http: 400, message: 'Data composite field source fields empty.' }),
|
|
175
184
|
'DATA_COMPOSITE_FIELD_SOURCE_FIELDS_REQUIRED': defineError({ code: 'DATA_COMPOSITE_FIELD_SOURCE_FIELDS_REQUIRED', class: 'public', http: 400, message: 'Data composite field source fields required.' }),
|
|
@@ -288,6 +297,7 @@ export const generatedRegistry = {
|
|
|
288
297
|
'DB_POOL_CLAIM_NOT_ORGANIZATION_OWNER': defineError({ code: 'DB_POOL_CLAIM_NOT_ORGANIZATION_OWNER', class: 'public', http: 400, message: 'Db pool claim not organization owner.' }),
|
|
289
298
|
'DB_POOL_CLAIM_UNATTRIBUTED_SCHEDULE': defineError({ code: 'DB_POOL_CLAIM_UNATTRIBUTED_SCHEDULE', class: 'public', http: 400, message: 'Db pool claim unattributed schedule.' }),
|
|
290
299
|
'DB_PRESET_MODULE': defineError({ code: 'DB_PRESET_MODULE', class: 'internal', http: 500, message: 'Db preset module.' }),
|
|
300
|
+
'DECLARED_GRANT_DRIFT': defineError({ code: 'DECLARED_GRANT_DRIFT', class: 'internal', http: 500, message: 'Declared grant drift.' }),
|
|
291
301
|
'DELETE_FIRST': defineError({ code: 'DELETE_FIRST', class: 'public', http: 400, message: 'Delete first.' }),
|
|
292
302
|
'DEVICE_NOT_FOUND': defineError({ code: 'DEVICE_NOT_FOUND', class: 'public', http: 404, message: 'Device not found.' }),
|
|
293
303
|
'DOMAIN_ALREADY_CLAIMED': defineError({ code: 'DOMAIN_ALREADY_CLAIMED', class: 'public', http: 409, message: 'Domain already claimed.' }),
|
|
@@ -305,6 +315,7 @@ export const generatedRegistry = {
|
|
|
305
315
|
'DOMAIN_ROOT_NOT_PUBLISHED': defineError({ code: 'DOMAIN_ROOT_NOT_PUBLISHED', class: 'internal', http: 500, message: 'Domain root not published.' }),
|
|
306
316
|
'DOMAIN_VERIFY_BAD_METHOD': defineError({ code: 'DOMAIN_VERIFY_BAD_METHOD', class: 'internal', http: 500, message: 'DOMAIN_VERIFY_BAD_METHOD: unsupported verification method {{arg0}}', positional: ['arg0'] }),
|
|
307
317
|
'DOMAIN_VERIFY_NO_CHALLENGE': defineError({ code: 'DOMAIN_VERIFY_NO_CHALLENGE', class: 'internal', http: 500, message: 'DOMAIN_VERIFY_NO_CHALLENGE: no outstanding {{arg0}} challenge for managed_domain {{arg1}}', positional: ['arg0', 'arg1'] }),
|
|
318
|
+
'DUPLICATE_JOB_IDS': defineError({ code: 'DUPLICATE_JOB_IDS', class: 'internal', http: 500, message: 'Duplicate job ids.' }),
|
|
308
319
|
'EMAIL_NOT_VERIFIED': defineError({ code: 'EMAIL_NOT_VERIFIED', class: 'public', http: 400, message: 'Email not verified.' }),
|
|
309
320
|
'ENTITY_CLAIM_REQUIRED': defineError({ code: 'ENTITY_CLAIM_REQUIRED', class: 'internal', http: 500, message: 'Entity claim required.' }),
|
|
310
321
|
'ENTITY_ID_REQUIRED': defineError({ code: 'ENTITY_ID_REQUIRED', class: 'public', http: 400, message: 'Entity id required.' }),
|
|
@@ -343,6 +354,8 @@ export const generatedRegistry = {
|
|
|
343
354
|
'EVENT_TRACKER_TABLE_NOT_FOUND': defineError({ code: 'EVENT_TRACKER_TABLE_NOT_FOUND', class: 'public', http: 404, message: 'Event tracker table not found.' }),
|
|
344
355
|
'EVENT_TRACKER_UNKNOWN_EVENT': defineError({ code: 'EVENT_TRACKER_UNKNOWN_EVENT', class: 'public', http: 400, message: 'Event tracker unknown event.' }),
|
|
345
356
|
'EVENT_TRACKER_WATCH_FIELD_NOT_FOUND': defineError({ code: 'EVENT_TRACKER_WATCH_FIELD_NOT_FOUND', class: 'public', http: 404, message: 'Event tracker watch field not found.' }),
|
|
357
|
+
'EXECUTION_LOG_ENTITY_REQUIRED': defineError({ code: 'EXECUTION_LOG_ENTITY_REQUIRED', class: 'internal', http: 500, message: 'Execution log entity required.' }),
|
|
358
|
+
'EXECUTION_LOG_FOREIGN_DATABASE': defineError({ code: 'EXECUTION_LOG_FOREIGN_DATABASE', class: 'internal', http: 500, message: 'Execution log foreign database.' }),
|
|
346
359
|
'EXECUTION_NOT_FOUND': defineError({ code: 'EXECUTION_NOT_FOUND', class: 'internal', http: 500, message: 'Execution not found.' }),
|
|
347
360
|
'EXPIRED_TOKEN': defineError({ code: 'EXPIRED_TOKEN', class: 'public', http: 400, message: 'Expired token.' }),
|
|
348
361
|
'EXTERNAL_BUILDER_NOT_ENTITLED': defineError({ code: 'EXTERNAL_BUILDER_NOT_ENTITLED', class: 'public', http: 400, message: 'External builder not entitled.' }),
|
|
@@ -353,7 +366,6 @@ export const generatedRegistry = {
|
|
|
353
366
|
'FILE_REF_FIELD': defineError({ code: 'FILE_REF_FIELD', class: 'internal', http: 500, message: 'File ref field.' }),
|
|
354
367
|
'FORBIDDEN': defineError({ code: 'FORBIDDEN', class: 'public', http: 403, message: 'Forbidden.' }),
|
|
355
368
|
'FOREIGN_KEY_CONSTRAINT_NOT_FOUND': defineError({ code: 'FOREIGN_KEY_CONSTRAINT_NOT_FOUND', class: 'internal', http: 500, message: 'Foreign key constraint not found.' }),
|
|
356
|
-
'FREE_PLAN_REQUIRED': defineError({ code: 'FREE_PLAN_REQUIRED', class: 'internal', http: 500, message: 'Free plan required.' }),
|
|
357
369
|
'FUNCTION_BODY_DEPARSE_EMPTY': defineError({ code: 'FUNCTION_BODY_DEPARSE_EMPTY', class: 'internal', http: 500, message: 'Function body deparse empty.' }),
|
|
358
370
|
'FUNCTION_ENVELOPE_VIOLATION': defineError({ code: 'FUNCTION_ENVELOPE_VIOLATION', class: 'internal', http: 500, message: 'Function envelope violation.' }),
|
|
359
371
|
'FUNCTION_GRAPH_NOT_FOUND': defineError({ code: 'FUNCTION_GRAPH_NOT_FOUND', class: 'internal', http: 500, message: 'Function graph not found.' }),
|
|
@@ -484,7 +496,9 @@ export const generatedRegistry = {
|
|
|
484
496
|
'INVOCATION_RATE_LIMIT_EXCEEDED': defineError({ code: 'INVOCATION_RATE_LIMIT_EXCEEDED', class: 'public', http: 429, message: 'Invocation rate limit exceeded.' }),
|
|
485
497
|
'INVOCATION_RATE_LIMIT_NOT_PROVISIONED': defineError({ code: 'INVOCATION_RATE_LIMIT_NOT_PROVISIONED', class: 'internal', http: 500, message: 'Invocation rate limit not provisioned.' }),
|
|
486
498
|
'INVOCATION_USAGE': defineError({ code: 'INVOCATION_USAGE', class: 'internal', http: 500, message: 'INVOCATION_USAGE: billing_schema and record_usage_fn are required — the generator must only build this trigger when billing is provisioned' }),
|
|
499
|
+
'JOB_DEFERRAL_ARRAYS_MISMATCH': defineError({ code: 'JOB_DEFERRAL_ARRAYS_MISMATCH', class: 'internal', http: 500, message: 'Job deferral arrays mismatch.' }),
|
|
487
500
|
'JOB_ENQUEUE_FAILED': defineError({ code: 'JOB_ENQUEUE_FAILED', class: 'internal', http: 500, message: 'Job enqueue failed.' }),
|
|
501
|
+
'JOB_FAILURE_ARRAYS_MISMATCH': defineError({ code: 'JOB_FAILURE_ARRAYS_MISMATCH', class: 'internal', http: 500, message: 'Job failure arrays mismatch.' }),
|
|
488
502
|
'JSONB_PATH_FIELD': defineError({ code: 'JSONB_PATH_FIELD', class: 'internal', http: 500, message: 'Jsonb path field.' }),
|
|
489
503
|
'K8S_ADMISSION_MODULE': defineError({ code: 'K8S_ADMISSION_MODULE', class: 'internal', http: 500, message: 'K8s admission module.' }),
|
|
490
504
|
'LIMIT_ENFORCE_AGGREGATE_ENTITY_FIELD_NOT_FOUND': defineError({ code: 'LIMIT_ENFORCE_AGGREGATE_ENTITY_FIELD_NOT_FOUND', class: 'public', http: 404, message: 'Limit enforce aggregate entity field not found.' }),
|
|
@@ -556,6 +570,7 @@ export const generatedRegistry = {
|
|
|
556
570
|
'METER_RATE_LIMIT': defineError({ code: 'METER_RATE_LIMIT', class: 'internal', http: 500, message: 'METER_RATE_LIMIT: unknown event {{arg0}}, expected INSERT or UPDATE', positional: ['arg0'] }),
|
|
557
571
|
'MFA_CHALLENGE_EXPIRED': defineError({ code: 'MFA_CHALLENGE_EXPIRED', class: 'public', http: 403, message: 'Mfa challenge expired.' }),
|
|
558
572
|
'MFA_IDENTIFIER_UNVERIFIED': defineError({ code: 'MFA_IDENTIFIER_UNVERIFIED', class: 'public', http: 403, message: 'Mfa identifier unverified.' }),
|
|
573
|
+
'MFA_METHOD_NOT_ENABLED': defineError({ code: 'MFA_METHOD_NOT_ENABLED', class: 'public', http: 403, message: 'Mfa method not enabled.' }),
|
|
559
574
|
'MFA_REQUIRED': defineError({ code: 'MFA_REQUIRED', class: 'public', http: 403, message: 'Mfa required.' }),
|
|
560
575
|
'MISSING_FIXTURE_TYPE': defineError({ code: 'MISSING_FIXTURE_TYPE', class: 'internal', http: 500, message: 'Missing fixture type.' }),
|
|
561
576
|
'MISSING_REQUIRED_FIELD': defineError({ code: 'MISSING_REQUIRED_FIELD', class: 'public', http: 400, message: 'Missing required field.' }),
|
|
@@ -584,6 +599,7 @@ export const generatedRegistry = {
|
|
|
584
599
|
'OWNER_FIELD_NOT_FOUND': defineError({ code: 'OWNER_FIELD_NOT_FOUND', class: 'public', http: 404, message: 'Owner field not found.' }),
|
|
585
600
|
'OWNER_FIELD_NOT_IN_OWNER_TABLE': defineError({ code: 'OWNER_FIELD_NOT_IN_OWNER_TABLE', class: 'public', http: 400, message: 'Owner field not in owner table.' }),
|
|
586
601
|
'PAGES_MODULE': defineError({ code: 'PAGES_MODULE', class: 'internal', http: 500, message: 'Pages module.' }),
|
|
602
|
+
'PARENT_CURSOR_NOT_ADVANCED': defineError({ code: 'PARENT_CURSOR_NOT_ADVANCED', class: 'public', http: 400, message: 'Parent cursor not advanced.' }),
|
|
587
603
|
'PARENT_ENTITY_TYPE_NOT_FOUND': defineError({ code: 'PARENT_ENTITY_TYPE_NOT_FOUND', class: 'public', http: 404, message: 'Parent entity type not found.' }),
|
|
588
604
|
'PARENT_EXECUTION_NOT_FOUND': defineError({ code: 'PARENT_EXECUTION_NOT_FOUND', class: 'internal', http: 500, message: 'Parent execution not found.' }),
|
|
589
605
|
'PASSWORD_INSECURE': defineError({ code: 'PASSWORD_INSECURE', class: 'public', http: 400, message: 'Password insecure.' }),
|
|
@@ -669,6 +685,16 @@ export const generatedRegistry = {
|
|
|
669
685
|
'ROUTING_API_TABLES_SCOPE_REQUIRED': defineError({ code: 'ROUTING_API_TABLES_SCOPE_REQUIRED', class: 'public', http: 400, message: 'Routing api tables scope required.' }),
|
|
670
686
|
'ROUTING_SURFACE_NOT_PROVISIONED': defineError({ code: 'ROUTING_SURFACE_NOT_PROVISIONED', class: 'public', http: 400, message: 'Routing surface not provisioned.' }),
|
|
671
687
|
'ROW_LOCKED': defineError({ code: 'ROW_LOCKED', class: 'public', http: 423, message: 'Row locked.' }),
|
|
688
|
+
'SCHEDULED_JOB_NOT_ENQUEUED': defineError({ code: 'SCHEDULED_JOB_NOT_ENQUEUED', class: 'internal', http: 500, message: 'Scheduled job not enqueued.' }),
|
|
689
|
+
'SCHEDULED_TASK_IDENTIFIER_REQUIRED': defineError({ code: 'SCHEDULED_TASK_IDENTIFIER_REQUIRED', class: 'public', http: 400, message: 'Scheduled task identifier required.' }),
|
|
690
|
+
'SCHEDULE_BATCH_SIZE_INVALID': defineError({ code: 'SCHEDULE_BATCH_SIZE_INVALID', class: 'public', http: 400, message: 'Schedule batch size invalid.' }),
|
|
691
|
+
'SCHEDULE_DEFER_INTERVAL_INVALID': defineError({ code: 'SCHEDULE_DEFER_INTERVAL_INVALID', class: 'public', http: 400, message: 'Schedule defer interval invalid.' }),
|
|
692
|
+
'SCHEDULE_DEFER_REASON_REQUIRED': defineError({ code: 'SCHEDULE_DEFER_REASON_REQUIRED', class: 'public', http: 400, message: 'Schedule defer reason required.' }),
|
|
693
|
+
'SCHEDULE_FANOUT_LANE_INVALID': defineError({ code: 'SCHEDULE_FANOUT_LANE_INVALID', class: 'internal', http: 500, message: 'Schedule fanout lane invalid.' }),
|
|
694
|
+
'SCHEDULE_FANOUT_TASK_NOT_ALLOWED': defineError({ code: 'SCHEDULE_FANOUT_TASK_NOT_ALLOWED', class: 'internal', http: 500, message: 'Schedule fanout task not allowed.' }),
|
|
695
|
+
'SCHEDULE_FANOUT_TENANTS_PER_LANE_INVALID': defineError({ code: 'SCHEDULE_FANOUT_TENANTS_PER_LANE_INVALID', class: 'internal', http: 500, message: 'Schedule fanout tenants per lane invalid.' }),
|
|
696
|
+
'SCHEDULE_RULE_INVALID': defineError({ code: 'SCHEDULE_RULE_INVALID', class: 'public', http: 400, message: 'Schedule rule invalid.' }),
|
|
697
|
+
'SCHEDULE_RULE_UNSATISFIABLE': defineError({ code: 'SCHEDULE_RULE_UNSATISFIABLE', class: 'public', http: 400, message: 'Schedule rule unsatisfiable.' }),
|
|
672
698
|
'SCOPE_TYPE_BACKFILL': defineError({ code: 'SCOPE_TYPE_BACKFILL', class: 'internal', http: 500, message: 'SCOPE_TYPE_BACKFILL: the membership types table must be resolved before generating a statement' }),
|
|
673
699
|
'SCOPE_TYPE_SYNC': defineError({ code: 'SCOPE_TYPE_SYNC', class: 'internal', http: 500, message: 'SCOPE_TYPE_SYNC: the scope type projection must be resolved before generating a body' }),
|
|
674
700
|
'SEARCH_BM25': defineError({ code: 'SEARCH_BM25', class: 'public', http: 400, message: 'Search bm25.' }),
|
|
@@ -750,10 +776,10 @@ export const generatedRegistry = {
|
|
|
750
776
|
'SSO_STATE_TTL_INVALID': defineError({ code: 'SSO_STATE_TTL_INVALID', class: 'internal', http: 500, message: 'Sso state ttl invalid.' }),
|
|
751
777
|
'STATIC_SITES_LIMIT': defineError({ code: 'STATIC_SITES_LIMIT', class: 'public', http: 429, message: 'Static sites limit.' }),
|
|
752
778
|
'STEP_UP_INVALID_TYPE': defineError({ code: 'STEP_UP_INVALID_TYPE', class: 'public', http: 403, message: 'This action requires verification that is not configured correctly. Please contact support.' }),
|
|
753
|
-
'STEP_UP_REQUIRED': defineError({ code: 'STEP_UP_REQUIRED', class: 'public', http: 403, message: 'Step up required.' }),
|
|
754
779
|
'STEP_UP_REQUIRED_FRESH_AUTH': defineError({ code: 'STEP_UP_REQUIRED_FRESH_AUTH', class: 'public', http: 403, message: 'Please verify your identity to continue.' }),
|
|
755
780
|
'STEP_UP_REQUIRED_MFA': defineError({ code: 'STEP_UP_REQUIRED_MFA', class: 'public', http: 403, message: 'Please enter a code from your authenticator app to continue.' }),
|
|
756
781
|
'STEP_UP_REQUIRED_PASSWORD': defineError({ code: 'STEP_UP_REQUIRED_PASSWORD', class: 'public', http: 403, message: 'Please re-enter your password to continue.' }),
|
|
782
|
+
'STEP_UP_REQUIRED_PASSWORD_OR_MFA': defineError({ code: 'STEP_UP_REQUIRED_PASSWORD_OR_MFA', class: 'public', http: 403, message: 'Please re-enter your password or enter a code from your authenticator app to continue.' }),
|
|
757
783
|
'STORAGE_API_NOT_PROVISIONED': defineError({ code: 'STORAGE_API_NOT_PROVISIONED', class: 'public', http: 400, message: 'Storage api not provisioned.' }),
|
|
758
784
|
'STORAGE_DESTINATION_REQUIRES_TEMP': defineError({ code: 'STORAGE_DESTINATION_REQUIRES_TEMP', class: 'internal', http: 500, message: 'Storage destination requires temp.' }),
|
|
759
785
|
'STORAGE_FILE_BUCKET_IMMUTABLE': defineError({ code: 'STORAGE_FILE_BUCKET_IMMUTABLE', class: 'internal', http: 500, message: 'Storage file bucket immutable.' }),
|
|
@@ -767,8 +793,6 @@ export const generatedRegistry = {
|
|
|
767
793
|
'STORAGE_GC_REF_CROSS_DATABASE': defineError({ code: 'STORAGE_GC_REF_CROSS_DATABASE', class: 'internal', http: 500, message: 'Storage gc ref cross database.' }),
|
|
768
794
|
'STORAGE_GC_REF_FIELD_MISSING': defineError({ code: 'STORAGE_GC_REF_FIELD_MISSING', class: 'internal', http: 500, message: 'Storage gc ref field missing.' }),
|
|
769
795
|
'STORAGE_GC_REF_TABLE_MISSING': defineError({ code: 'STORAGE_GC_REF_TABLE_MISSING', class: 'internal', http: 500, message: 'Storage gc ref table missing.' }),
|
|
770
|
-
'STORAGE_MODULE_ENTITY_FIELD_INVALID': defineError({ code: 'STORAGE_MODULE_ENTITY_FIELD_INVALID', class: 'internal', http: 500, message: 'Storage module entity field invalid.' }),
|
|
771
|
-
'STORAGE_MODULE_NOT_FOUND': defineError({ code: 'STORAGE_MODULE_NOT_FOUND', class: 'internal', http: 500, message: 'Storage module not found.' }),
|
|
772
796
|
'STORAGE_PROMOTION_DESTINATION_MISMATCH': defineError({ code: 'STORAGE_PROMOTION_DESTINATION_MISMATCH', class: 'internal', http: 500, message: 'Storage promotion destination mismatch.' }),
|
|
773
797
|
'STORAGE_PROMOTION_VISIBILITY_MISMATCH': defineError({ code: 'STORAGE_PROMOTION_VISIBILITY_MISMATCH', class: 'internal', http: 500, message: 'Storage promotion visibility mismatch.' }),
|
|
774
798
|
'STORAGE_STAGING_BUCKET_NO_DESTINATION': defineError({ code: 'STORAGE_STAGING_BUCKET_NO_DESTINATION', class: 'internal', http: 500, message: 'Storage staging bucket no destination.' }),
|
|
@@ -894,8 +918,11 @@ export const GENERATED_CODE_META = {
|
|
|
894
918
|
'BAD_RLS_EXPRESSION': { class: 'public', dynamic: false, generatedOnly: false },
|
|
895
919
|
'BAD_VIEW_EXPRESSION': { class: 'public', dynamic: false, generatedOnly: false },
|
|
896
920
|
'BEHAVIOR_FRAGMENT_EMPTY': { class: 'internal', dynamic: false, generatedOnly: false },
|
|
921
|
+
'BILLING_CHECKOUT_BINDING_INVALID': { class: 'internal', dynamic: false, generatedOnly: true },
|
|
922
|
+
'BILLING_DISABLED': { class: 'public', dynamic: false, generatedOnly: true },
|
|
897
923
|
'BILLING_DISPUTE_BALANCE_NOT_FOUND': { class: 'internal', dynamic: false, generatedOnly: false },
|
|
898
924
|
'BILLING_ENTITY_BUSY': { class: 'public', dynamic: false, generatedOnly: true },
|
|
925
|
+
'BILLING_GRANT_INVALID': { class: 'public', dynamic: false, generatedOnly: true },
|
|
899
926
|
'BILLING_HEALTH_INVALID': { class: 'internal', dynamic: false, generatedOnly: true },
|
|
900
927
|
'BILLING_NOT_READY': { class: 'public', dynamic: false, generatedOnly: false },
|
|
901
928
|
'BILLING_OBSERVATION_INVALID': { class: 'internal', dynamic: false, generatedOnly: true },
|
|
@@ -904,14 +931,19 @@ export const GENERATED_CODE_META = {
|
|
|
904
931
|
'BILLING_OPERATION_NOT_FOUND': { class: 'internal', dynamic: false, generatedOnly: true },
|
|
905
932
|
'BILLING_OPERATION_SETTLED': { class: 'internal', dynamic: false, generatedOnly: true },
|
|
906
933
|
'BILLING_OPERATION_STATE_INVALID': { class: 'internal', dynamic: false, generatedOnly: true },
|
|
934
|
+
'BILLING_PAYER_UNRESOLVED': { class: 'internal', dynamic: false, generatedOnly: false },
|
|
935
|
+
'BILLING_QUOTA_EXCEEDED': { class: 'public', dynamic: false, generatedOnly: false },
|
|
907
936
|
'BILLING_RECONCILE_BOUNDS_REQUIRED': { class: 'internal', dynamic: false, generatedOnly: true },
|
|
908
937
|
'BILLING_SCHEDULED_CHANGE_INVALID': { class: 'internal', dynamic: false, generatedOnly: true },
|
|
938
|
+
'BILLING_SUBSCRIPTION_ACTIVE': { class: 'public', dynamic: false, generatedOnly: false },
|
|
939
|
+
'BILLING_UNKNOWN_METER': { class: 'public', dynamic: false, generatedOnly: true },
|
|
909
940
|
'BLUEPRINT_MODULE_NOT_INSTALLED': { class: 'public', dynamic: false, generatedOnly: false },
|
|
910
941
|
'BLUEPRINT_MODULE_REF_AMBIGUOUS': { class: 'public', dynamic: false, generatedOnly: false },
|
|
911
942
|
'BLUEPRINT_MODULE_REF_INVALID': { class: 'public', dynamic: false, generatedOnly: false },
|
|
912
943
|
'BLUEPRINT_MODULE_TABLE_UNKNOWN': { class: 'public', dynamic: false, generatedOnly: false },
|
|
913
944
|
'BM25': { class: 'public', dynamic: false, generatedOnly: false },
|
|
914
945
|
'BOOTSTRAP_DATABASE_MISSING': { class: 'internal', dynamic: false, generatedOnly: false },
|
|
946
|
+
'BOOTSTRAP_OWNER_NOT_ACTIVE': { class: 'internal', dynamic: false, generatedOnly: false },
|
|
915
947
|
'BOOTSTRAP_SOURCE_MISSING': { class: 'internal', dynamic: false, generatedOnly: false },
|
|
916
948
|
'BOOTSTRAP_TARGET_NOT_EMPTY': { class: 'internal', dynamic: false, generatedOnly: false },
|
|
917
949
|
'BUILD_CONDITION_EXPR': { class: 'internal', dynamic: false, generatedOnly: false },
|
|
@@ -957,6 +989,7 @@ export const GENERATED_CODE_META = {
|
|
|
957
989
|
'CONSTRUCT_BLUEPRINT_PROVISIONS_WITHOUT_MODULE': { class: 'public', dynamic: false, generatedOnly: false },
|
|
958
990
|
'CONSTRUCT_BLUEPRINT_SCHEMA_NOT_FOUND': { class: 'internal', dynamic: false, generatedOnly: false },
|
|
959
991
|
'CONSTRUCT_BLUEPRINT_STORAGE_ORG_MEMBERSHIP_NOT_FOUND': { class: 'internal', dynamic: false, generatedOnly: false },
|
|
992
|
+
'CONSTRUCT_BLUEPRINT_TABLES_ORG_MEMBERSHIP_NOT_FOUND': { class: 'internal', dynamic: false, generatedOnly: false },
|
|
960
993
|
'CONST_TYPE_FIELDS_IMMUTABLE': { class: 'public', dynamic: false, generatedOnly: false },
|
|
961
994
|
'CONTENT_PRESET_CATALOG_MISSING': { class: 'internal', dynamic: false, generatedOnly: false },
|
|
962
995
|
'CONTENT_PRESET_EMPTY': { class: 'public', dynamic: false, generatedOnly: false },
|
|
@@ -1108,6 +1141,7 @@ export const GENERATED_CODE_META = {
|
|
|
1108
1141
|
'DB_POOL_CLAIM_NOT_ORGANIZATION_OWNER': { class: 'public', dynamic: false, generatedOnly: false },
|
|
1109
1142
|
'DB_POOL_CLAIM_UNATTRIBUTED_SCHEDULE': { class: 'public', dynamic: false, generatedOnly: false },
|
|
1110
1143
|
'DB_PRESET_MODULE': { class: 'internal', dynamic: false, generatedOnly: false },
|
|
1144
|
+
'DECLARED_GRANT_DRIFT': { class: 'internal', dynamic: false, generatedOnly: false },
|
|
1111
1145
|
'DELETE_FIRST': { class: 'public', dynamic: false, generatedOnly: false },
|
|
1112
1146
|
'DEVICE_NOT_FOUND': { class: 'public', dynamic: false, generatedOnly: false },
|
|
1113
1147
|
'DOMAIN_ALREADY_CLAIMED': { class: 'public', dynamic: false, generatedOnly: false },
|
|
@@ -1125,6 +1159,7 @@ export const GENERATED_CODE_META = {
|
|
|
1125
1159
|
'DOMAIN_ROOT_NOT_PUBLISHED': { class: 'internal', dynamic: false, generatedOnly: true },
|
|
1126
1160
|
'DOMAIN_VERIFY_BAD_METHOD': { class: 'internal', dynamic: true, generatedOnly: true },
|
|
1127
1161
|
'DOMAIN_VERIFY_NO_CHALLENGE': { class: 'internal', dynamic: true, generatedOnly: true },
|
|
1162
|
+
'DUPLICATE_JOB_IDS': { class: 'internal', dynamic: false, generatedOnly: true },
|
|
1128
1163
|
'EMAIL_NOT_VERIFIED': { class: 'public', dynamic: false, generatedOnly: false },
|
|
1129
1164
|
'ENTITY_CLAIM_REQUIRED': { class: 'internal', dynamic: false, generatedOnly: true },
|
|
1130
1165
|
'ENTITY_ID_REQUIRED': { class: 'public', dynamic: false, generatedOnly: false },
|
|
@@ -1163,6 +1198,8 @@ export const GENERATED_CODE_META = {
|
|
|
1163
1198
|
'EVENT_TRACKER_TABLE_NOT_FOUND': { class: 'public', dynamic: false, generatedOnly: false },
|
|
1164
1199
|
'EVENT_TRACKER_UNKNOWN_EVENT': { class: 'public', dynamic: false, generatedOnly: false },
|
|
1165
1200
|
'EVENT_TRACKER_WATCH_FIELD_NOT_FOUND': { class: 'public', dynamic: false, generatedOnly: false },
|
|
1201
|
+
'EXECUTION_LOG_ENTITY_REQUIRED': { class: 'internal', dynamic: false, generatedOnly: false },
|
|
1202
|
+
'EXECUTION_LOG_FOREIGN_DATABASE': { class: 'internal', dynamic: false, generatedOnly: false },
|
|
1166
1203
|
'EXECUTION_NOT_FOUND': { class: 'internal', dynamic: false, generatedOnly: false },
|
|
1167
1204
|
'EXPIRED_TOKEN': { class: 'public', dynamic: false, generatedOnly: false },
|
|
1168
1205
|
'EXTERNAL_BUILDER_NOT_ENTITLED': { class: 'public', dynamic: false, generatedOnly: false },
|
|
@@ -1173,7 +1210,6 @@ export const GENERATED_CODE_META = {
|
|
|
1173
1210
|
'FILE_REF_FIELD': { class: 'internal', dynamic: false, generatedOnly: false },
|
|
1174
1211
|
'FORBIDDEN': { class: 'public', dynamic: false, generatedOnly: false },
|
|
1175
1212
|
'FOREIGN_KEY_CONSTRAINT_NOT_FOUND': { class: 'internal', dynamic: false, generatedOnly: false },
|
|
1176
|
-
'FREE_PLAN_REQUIRED': { class: 'internal', dynamic: false, generatedOnly: false },
|
|
1177
1213
|
'FUNCTION_BODY_DEPARSE_EMPTY': { class: 'internal', dynamic: false, generatedOnly: false },
|
|
1178
1214
|
'FUNCTION_ENVELOPE_VIOLATION': { class: 'internal', dynamic: false, generatedOnly: false },
|
|
1179
1215
|
'FUNCTION_GRAPH_NOT_FOUND': { class: 'internal', dynamic: false, generatedOnly: false },
|
|
@@ -1304,7 +1340,9 @@ export const GENERATED_CODE_META = {
|
|
|
1304
1340
|
'INVOCATION_RATE_LIMIT_EXCEEDED': { class: 'public', dynamic: false, generatedOnly: false },
|
|
1305
1341
|
'INVOCATION_RATE_LIMIT_NOT_PROVISIONED': { class: 'internal', dynamic: false, generatedOnly: false },
|
|
1306
1342
|
'INVOCATION_USAGE': { class: 'internal', dynamic: false, generatedOnly: false },
|
|
1343
|
+
'JOB_DEFERRAL_ARRAYS_MISMATCH': { class: 'internal', dynamic: false, generatedOnly: true },
|
|
1307
1344
|
'JOB_ENQUEUE_FAILED': { class: 'internal', dynamic: false, generatedOnly: false },
|
|
1345
|
+
'JOB_FAILURE_ARRAYS_MISMATCH': { class: 'internal', dynamic: false, generatedOnly: true },
|
|
1308
1346
|
'JSONB_PATH_FIELD': { class: 'internal', dynamic: false, generatedOnly: false },
|
|
1309
1347
|
'K8S_ADMISSION_MODULE': { class: 'internal', dynamic: false, generatedOnly: false },
|
|
1310
1348
|
'LIMIT_ENFORCE_AGGREGATE_ENTITY_FIELD_NOT_FOUND': { class: 'public', dynamic: false, generatedOnly: false },
|
|
@@ -1376,6 +1414,7 @@ export const GENERATED_CODE_META = {
|
|
|
1376
1414
|
'METER_RATE_LIMIT': { class: 'internal', dynamic: true, generatedOnly: false },
|
|
1377
1415
|
'MFA_CHALLENGE_EXPIRED': { class: 'public', dynamic: false, generatedOnly: false },
|
|
1378
1416
|
'MFA_IDENTIFIER_UNVERIFIED': { class: 'public', dynamic: false, generatedOnly: false },
|
|
1417
|
+
'MFA_METHOD_NOT_ENABLED': { class: 'public', dynamic: false, generatedOnly: false },
|
|
1379
1418
|
'MFA_REQUIRED': { class: 'public', dynamic: false, generatedOnly: false },
|
|
1380
1419
|
'MISSING_FIXTURE_TYPE': { class: 'internal', dynamic: false, generatedOnly: false },
|
|
1381
1420
|
'MISSING_REQUIRED_FIELD': { class: 'public', dynamic: false, generatedOnly: false },
|
|
@@ -1404,6 +1443,7 @@ export const GENERATED_CODE_META = {
|
|
|
1404
1443
|
'OWNER_FIELD_NOT_FOUND': { class: 'public', dynamic: false, generatedOnly: false },
|
|
1405
1444
|
'OWNER_FIELD_NOT_IN_OWNER_TABLE': { class: 'public', dynamic: false, generatedOnly: false },
|
|
1406
1445
|
'PAGES_MODULE': { class: 'internal', dynamic: false, generatedOnly: false },
|
|
1446
|
+
'PARENT_CURSOR_NOT_ADVANCED': { class: 'public', dynamic: false, generatedOnly: false },
|
|
1407
1447
|
'PARENT_ENTITY_TYPE_NOT_FOUND': { class: 'public', dynamic: false, generatedOnly: false },
|
|
1408
1448
|
'PARENT_EXECUTION_NOT_FOUND': { class: 'internal', dynamic: false, generatedOnly: false },
|
|
1409
1449
|
'PASSWORD_INSECURE': { class: 'public', dynamic: false, generatedOnly: false },
|
|
@@ -1489,6 +1529,16 @@ export const GENERATED_CODE_META = {
|
|
|
1489
1529
|
'ROUTING_API_TABLES_SCOPE_REQUIRED': { class: 'public', dynamic: false, generatedOnly: false },
|
|
1490
1530
|
'ROUTING_SURFACE_NOT_PROVISIONED': { class: 'public', dynamic: false, generatedOnly: false },
|
|
1491
1531
|
'ROW_LOCKED': { class: 'public', dynamic: false, generatedOnly: false },
|
|
1532
|
+
'SCHEDULED_JOB_NOT_ENQUEUED': { class: 'internal', dynamic: false, generatedOnly: true },
|
|
1533
|
+
'SCHEDULED_TASK_IDENTIFIER_REQUIRED': { class: 'public', dynamic: false, generatedOnly: true },
|
|
1534
|
+
'SCHEDULE_BATCH_SIZE_INVALID': { class: 'public', dynamic: false, generatedOnly: true },
|
|
1535
|
+
'SCHEDULE_DEFER_INTERVAL_INVALID': { class: 'public', dynamic: false, generatedOnly: true },
|
|
1536
|
+
'SCHEDULE_DEFER_REASON_REQUIRED': { class: 'public', dynamic: false, generatedOnly: true },
|
|
1537
|
+
'SCHEDULE_FANOUT_LANE_INVALID': { class: 'internal', dynamic: false, generatedOnly: false },
|
|
1538
|
+
'SCHEDULE_FANOUT_TASK_NOT_ALLOWED': { class: 'internal', dynamic: false, generatedOnly: false },
|
|
1539
|
+
'SCHEDULE_FANOUT_TENANTS_PER_LANE_INVALID': { class: 'internal', dynamic: false, generatedOnly: false },
|
|
1540
|
+
'SCHEDULE_RULE_INVALID': { class: 'public', dynamic: false, generatedOnly: true },
|
|
1541
|
+
'SCHEDULE_RULE_UNSATISFIABLE': { class: 'public', dynamic: false, generatedOnly: true },
|
|
1492
1542
|
'SCOPE_TYPE_BACKFILL': { class: 'internal', dynamic: false, generatedOnly: false },
|
|
1493
1543
|
'SCOPE_TYPE_SYNC': { class: 'internal', dynamic: true, generatedOnly: false },
|
|
1494
1544
|
'SEARCH_BM25': { class: 'public', dynamic: false, generatedOnly: false },
|
|
@@ -1570,10 +1620,10 @@ export const GENERATED_CODE_META = {
|
|
|
1570
1620
|
'SSO_STATE_TTL_INVALID': { class: 'internal', dynamic: false, generatedOnly: false },
|
|
1571
1621
|
'STATIC_SITES_LIMIT': { class: 'public', dynamic: false, generatedOnly: false },
|
|
1572
1622
|
'STEP_UP_INVALID_TYPE': { class: 'public', dynamic: false, generatedOnly: false },
|
|
1573
|
-
'STEP_UP_REQUIRED': { class: 'public', dynamic: false, generatedOnly: false },
|
|
1574
1623
|
'STEP_UP_REQUIRED_FRESH_AUTH': { class: 'public', dynamic: false, generatedOnly: false },
|
|
1575
1624
|
'STEP_UP_REQUIRED_MFA': { class: 'public', dynamic: false, generatedOnly: false },
|
|
1576
1625
|
'STEP_UP_REQUIRED_PASSWORD': { class: 'public', dynamic: false, generatedOnly: false },
|
|
1626
|
+
'STEP_UP_REQUIRED_PASSWORD_OR_MFA': { class: 'public', dynamic: false, generatedOnly: false },
|
|
1577
1627
|
'STORAGE_API_NOT_PROVISIONED': { class: 'public', dynamic: false, generatedOnly: false },
|
|
1578
1628
|
'STORAGE_DESTINATION_REQUIRES_TEMP': { class: 'internal', dynamic: false, generatedOnly: false },
|
|
1579
1629
|
'STORAGE_FILE_BUCKET_IMMUTABLE': { class: 'internal', dynamic: false, generatedOnly: false },
|
|
@@ -1587,8 +1637,6 @@ export const GENERATED_CODE_META = {
|
|
|
1587
1637
|
'STORAGE_GC_REF_CROSS_DATABASE': { class: 'internal', dynamic: false, generatedOnly: false },
|
|
1588
1638
|
'STORAGE_GC_REF_FIELD_MISSING': { class: 'internal', dynamic: false, generatedOnly: false },
|
|
1589
1639
|
'STORAGE_GC_REF_TABLE_MISSING': { class: 'internal', dynamic: false, generatedOnly: false },
|
|
1590
|
-
'STORAGE_MODULE_ENTITY_FIELD_INVALID': { class: 'internal', dynamic: false, generatedOnly: false },
|
|
1591
|
-
'STORAGE_MODULE_NOT_FOUND': { class: 'internal', dynamic: false, generatedOnly: false },
|
|
1592
1640
|
'STORAGE_PROMOTION_DESTINATION_MISMATCH': { class: 'internal', dynamic: false, generatedOnly: false },
|
|
1593
1641
|
'STORAGE_PROMOTION_VISIBILITY_MISMATCH': { class: 'internal', dynamic: false, generatedOnly: false },
|
|
1594
1642
|
'STORAGE_STAGING_BUCKET_NO_DESTINATION': { class: 'internal', dynamic: false, generatedOnly: false },
|
|
@@ -1654,4 +1702,4 @@ export const GENERATED_CODE_META = {
|
|
|
1654
1702
|
'WITH_CHECK_NOT_ALLOWED': { class: 'public', dynamic: false, generatedOnly: false },
|
|
1655
1703
|
};
|
|
1656
1704
|
/** Total number of codes collected from constructive-db. */
|
|
1657
|
-
export const GENERATED_CODE_COUNT =
|
|
1705
|
+
export const GENERATED_CODE_COUNT = 841;
|
package/esm/registry.d.ts
CHANGED
|
@@ -78,6 +78,7 @@ export declare const registry: {
|
|
|
78
78
|
resource?: string;
|
|
79
79
|
limit?: number;
|
|
80
80
|
}>;
|
|
81
|
+
readonly BILLING_QUOTA_EXCEEDED: import("./define").DefinedError<import("./types").EmptyContext>;
|
|
81
82
|
readonly RATE_LIMITED: import("./define").DefinedError<import("./types").EmptyContext>;
|
|
82
83
|
readonly BILLING_NOT_READY: import("./define").DefinedError<{
|
|
83
84
|
database_id?: string;
|
|
@@ -91,6 +92,10 @@ export declare const registry: {
|
|
|
91
92
|
operation_id?: string;
|
|
92
93
|
}>;
|
|
93
94
|
readonly BILLING_OPERATION_INVALID: import("./define").DefinedError<import("./types").EmptyContext>;
|
|
95
|
+
readonly BILLING_SUBSCRIPTION_ACTIVE: import("./define").DefinedError<{
|
|
96
|
+
entity_id?: string;
|
|
97
|
+
external_subscription_id?: string;
|
|
98
|
+
}>;
|
|
94
99
|
readonly UNKNOWN_METER: import("./define").DefinedError<{
|
|
95
100
|
meter_slug?: string;
|
|
96
101
|
}>;
|
package/esm/registry.js
CHANGED
|
@@ -367,6 +367,12 @@ export const registry = {
|
|
|
367
367
|
message: 'You have reached a plan limit for this resource.',
|
|
368
368
|
positional: ['resource', 'limit']
|
|
369
369
|
}),
|
|
370
|
+
BILLING_QUOTA_EXCEEDED: defineError({
|
|
371
|
+
code: 'BILLING_QUOTA_EXCEEDED',
|
|
372
|
+
class: 'public',
|
|
373
|
+
http: 429,
|
|
374
|
+
message: 'You have used up your usage allowance for this resource.'
|
|
375
|
+
}),
|
|
370
376
|
RATE_LIMITED: defineError({
|
|
371
377
|
code: 'RATE_LIMITED',
|
|
372
378
|
class: 'public',
|
|
@@ -400,6 +406,12 @@ export const registry = {
|
|
|
400
406
|
http: 400,
|
|
401
407
|
message: 'The billing operation request is invalid.'
|
|
402
408
|
}),
|
|
409
|
+
BILLING_SUBSCRIPTION_ACTIVE: defineError({
|
|
410
|
+
code: 'BILLING_SUBSCRIPTION_ACTIVE',
|
|
411
|
+
class: 'public',
|
|
412
|
+
http: 409,
|
|
413
|
+
message: 'This account still has an active subscription. Cancel the subscription before deleting the account.'
|
|
414
|
+
}),
|
|
403
415
|
UNKNOWN_METER: defineError({
|
|
404
416
|
code: 'UNKNOWN_METER',
|
|
405
417
|
class: 'public',
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* GENERATED FILE — DO NOT EDIT BY HAND.
|
|
3
3
|
*
|
|
4
|
-
* Source of truth: the constructive-db error audit (
|
|
4
|
+
* Source of truth: the constructive-db error audit (841 distinct codes
|
|
5
5
|
* raised via EXCEPTION/THROW across deploy sources + generated output).
|
|
6
6
|
* Regenerate with `python3 scripts/generate-registry.py` (see README.md).
|
|
7
7
|
*
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* codes carry their raw message (with %-args rendered as {{argN}}). Curated
|
|
10
10
|
* entries in `registry.ts` override anything here (typed context + refined copy).
|
|
11
11
|
*
|
|
12
|
-
* Counts:
|
|
12
|
+
* Counts: 841 total, 611 public, 230 internal.
|
|
13
13
|
*/
|
|
14
14
|
import { type DefinedError } from '../define';
|
|
15
15
|
import type { ErrorContext } from '../types';
|
|
@@ -24,4 +24,4 @@ export declare const generatedRegistry: Record<string, DefinedError<ErrorContext
|
|
|
24
24
|
/** Audit metadata for each generated code. */
|
|
25
25
|
export declare const GENERATED_CODE_META: Record<string, GeneratedCodeMeta>;
|
|
26
26
|
/** Total number of codes collected from constructive-db. */
|
|
27
|
-
export declare const GENERATED_CODE_COUNT =
|
|
27
|
+
export declare const GENERATED_CODE_COUNT = 841;
|
|
@@ -5,7 +5,7 @@ exports.GENERATED_CODE_COUNT = exports.GENERATED_CODE_META = exports.generatedRe
|
|
|
5
5
|
/**
|
|
6
6
|
* GENERATED FILE — DO NOT EDIT BY HAND.
|
|
7
7
|
*
|
|
8
|
-
* Source of truth: the constructive-db error audit (
|
|
8
|
+
* Source of truth: the constructive-db error audit (841 distinct codes
|
|
9
9
|
* raised via EXCEPTION/THROW across deploy sources + generated output).
|
|
10
10
|
* Regenerate with `python3 scripts/generate-registry.py` (see README.md).
|
|
11
11
|
*
|
|
@@ -13,7 +13,7 @@ exports.GENERATED_CODE_COUNT = exports.GENERATED_CODE_META = exports.generatedRe
|
|
|
13
13
|
* codes carry their raw message (with %-args rendered as {{argN}}). Curated
|
|
14
14
|
* entries in `registry.ts` override anything here (typed context + refined copy).
|
|
15
15
|
*
|
|
16
|
-
* Counts:
|
|
16
|
+
* Counts: 841 total, 611 public, 230 internal.
|
|
17
17
|
*/
|
|
18
18
|
const define_1 = require("../define");
|
|
19
19
|
/** Every constructive-db error code, keyed by code. */
|
|
@@ -77,8 +77,11 @@ exports.generatedRegistry = {
|
|
|
77
77
|
'BAD_RLS_EXPRESSION': (0, define_1.defineError)({ code: 'BAD_RLS_EXPRESSION', class: 'public', http: 400, message: 'Bad rls expression.' }),
|
|
78
78
|
'BAD_VIEW_EXPRESSION': (0, define_1.defineError)({ code: 'BAD_VIEW_EXPRESSION', class: 'public', http: 400, message: 'Bad view expression.' }),
|
|
79
79
|
'BEHAVIOR_FRAGMENT_EMPTY': (0, define_1.defineError)({ code: 'BEHAVIOR_FRAGMENT_EMPTY', class: 'internal', http: 500, message: 'Behavior fragment empty.' }),
|
|
80
|
+
'BILLING_CHECKOUT_BINDING_INVALID': (0, define_1.defineError)({ code: 'BILLING_CHECKOUT_BINDING_INVALID', class: 'internal', http: 500, message: 'Billing checkout binding invalid.' }),
|
|
81
|
+
'BILLING_DISABLED': (0, define_1.defineError)({ code: 'BILLING_DISABLED', class: 'public', http: 403, message: 'Billing disabled.' }),
|
|
80
82
|
'BILLING_DISPUTE_BALANCE_NOT_FOUND': (0, define_1.defineError)({ code: 'BILLING_DISPUTE_BALANCE_NOT_FOUND', class: 'internal', http: 500, message: 'Billing dispute balance not found.' }),
|
|
81
83
|
'BILLING_ENTITY_BUSY': (0, define_1.defineError)({ code: 'BILLING_ENTITY_BUSY', class: 'public', http: 400, message: 'Billing entity busy.' }),
|
|
84
|
+
'BILLING_GRANT_INVALID': (0, define_1.defineError)({ code: 'BILLING_GRANT_INVALID', class: 'public', http: 400, message: 'Billing grant invalid.' }),
|
|
82
85
|
'BILLING_HEALTH_INVALID': (0, define_1.defineError)({ code: 'BILLING_HEALTH_INVALID', class: 'internal', http: 500, message: 'Billing health invalid.' }),
|
|
83
86
|
'BILLING_NOT_READY': (0, define_1.defineError)({ code: 'BILLING_NOT_READY', class: 'public', http: 400, message: 'Billing not ready.' }),
|
|
84
87
|
'BILLING_OBSERVATION_INVALID': (0, define_1.defineError)({ code: 'BILLING_OBSERVATION_INVALID', class: 'internal', http: 500, message: 'Billing observation invalid.' }),
|
|
@@ -87,14 +90,19 @@ exports.generatedRegistry = {
|
|
|
87
90
|
'BILLING_OPERATION_NOT_FOUND': (0, define_1.defineError)({ code: 'BILLING_OPERATION_NOT_FOUND', class: 'internal', http: 500, message: 'Billing operation not found.' }),
|
|
88
91
|
'BILLING_OPERATION_SETTLED': (0, define_1.defineError)({ code: 'BILLING_OPERATION_SETTLED', class: 'internal', http: 500, message: 'Billing operation settled.' }),
|
|
89
92
|
'BILLING_OPERATION_STATE_INVALID': (0, define_1.defineError)({ code: 'BILLING_OPERATION_STATE_INVALID', class: 'internal', http: 500, message: 'Billing operation state invalid.' }),
|
|
93
|
+
'BILLING_PAYER_UNRESOLVED': (0, define_1.defineError)({ code: 'BILLING_PAYER_UNRESOLVED', class: 'internal', http: 500, message: 'Billing payer unresolved.' }),
|
|
94
|
+
'BILLING_QUOTA_EXCEEDED': (0, define_1.defineError)({ code: 'BILLING_QUOTA_EXCEEDED', class: 'public', http: 400, message: 'Billing quota exceeded.' }),
|
|
90
95
|
'BILLING_RECONCILE_BOUNDS_REQUIRED': (0, define_1.defineError)({ code: 'BILLING_RECONCILE_BOUNDS_REQUIRED', class: 'internal', http: 500, message: 'Billing reconcile bounds required.' }),
|
|
91
96
|
'BILLING_SCHEDULED_CHANGE_INVALID': (0, define_1.defineError)({ code: 'BILLING_SCHEDULED_CHANGE_INVALID', class: 'internal', http: 500, message: 'Billing scheduled change invalid.' }),
|
|
97
|
+
'BILLING_SUBSCRIPTION_ACTIVE': (0, define_1.defineError)({ code: 'BILLING_SUBSCRIPTION_ACTIVE', class: 'public', http: 400, message: 'Billing subscription active.' }),
|
|
98
|
+
'BILLING_UNKNOWN_METER': (0, define_1.defineError)({ code: 'BILLING_UNKNOWN_METER', class: 'public', http: 400, message: 'Billing unknown meter.' }),
|
|
92
99
|
'BLUEPRINT_MODULE_NOT_INSTALLED': (0, define_1.defineError)({ code: 'BLUEPRINT_MODULE_NOT_INSTALLED', class: 'public', http: 400, message: 'Blueprint module not installed.' }),
|
|
93
100
|
'BLUEPRINT_MODULE_REF_AMBIGUOUS': (0, define_1.defineError)({ code: 'BLUEPRINT_MODULE_REF_AMBIGUOUS', class: 'public', http: 400, message: 'Blueprint module ref ambiguous.' }),
|
|
94
101
|
'BLUEPRINT_MODULE_REF_INVALID': (0, define_1.defineError)({ code: 'BLUEPRINT_MODULE_REF_INVALID', class: 'public', http: 400, message: 'Blueprint module ref invalid.' }),
|
|
95
102
|
'BLUEPRINT_MODULE_TABLE_UNKNOWN': (0, define_1.defineError)({ code: 'BLUEPRINT_MODULE_TABLE_UNKNOWN', class: 'public', http: 400, message: 'Blueprint module table unknown.' }),
|
|
96
103
|
'BM25': (0, define_1.defineError)({ code: 'BM25', class: 'public', http: 400, message: 'Bm25.' }),
|
|
97
104
|
'BOOTSTRAP_DATABASE_MISSING': (0, define_1.defineError)({ code: 'BOOTSTRAP_DATABASE_MISSING', class: 'internal', http: 500, message: 'Bootstrap database missing.' }),
|
|
105
|
+
'BOOTSTRAP_OWNER_NOT_ACTIVE': (0, define_1.defineError)({ code: 'BOOTSTRAP_OWNER_NOT_ACTIVE', class: 'internal', http: 500, message: 'Bootstrap owner not active.' }),
|
|
98
106
|
'BOOTSTRAP_SOURCE_MISSING': (0, define_1.defineError)({ code: 'BOOTSTRAP_SOURCE_MISSING', class: 'internal', http: 500, message: 'Bootstrap source missing.' }),
|
|
99
107
|
'BOOTSTRAP_TARGET_NOT_EMPTY': (0, define_1.defineError)({ code: 'BOOTSTRAP_TARGET_NOT_EMPTY', class: 'internal', http: 500, message: 'Bootstrap target not empty.' }),
|
|
100
108
|
'BUILD_CONDITION_EXPR': (0, define_1.defineError)({ code: 'BUILD_CONDITION_EXPR', class: 'internal', http: 500, message: 'Build condition expr.' }),
|
|
@@ -140,6 +148,7 @@ exports.generatedRegistry = {
|
|
|
140
148
|
'CONSTRUCT_BLUEPRINT_PROVISIONS_WITHOUT_MODULE': (0, define_1.defineError)({ code: 'CONSTRUCT_BLUEPRINT_PROVISIONS_WITHOUT_MODULE', class: 'public', http: 400, message: 'Construct blueprint provisions without module.' }),
|
|
141
149
|
'CONSTRUCT_BLUEPRINT_SCHEMA_NOT_FOUND': (0, define_1.defineError)({ code: 'CONSTRUCT_BLUEPRINT_SCHEMA_NOT_FOUND', class: 'internal', http: 500, message: 'Construct blueprint schema not found.' }),
|
|
142
150
|
'CONSTRUCT_BLUEPRINT_STORAGE_ORG_MEMBERSHIP_NOT_FOUND': (0, define_1.defineError)({ code: 'CONSTRUCT_BLUEPRINT_STORAGE_ORG_MEMBERSHIP_NOT_FOUND', class: 'internal', http: 500, message: 'Construct blueprint storage org membership not found.' }),
|
|
151
|
+
'CONSTRUCT_BLUEPRINT_TABLES_ORG_MEMBERSHIP_NOT_FOUND': (0, define_1.defineError)({ code: 'CONSTRUCT_BLUEPRINT_TABLES_ORG_MEMBERSHIP_NOT_FOUND', class: 'internal', http: 500, message: 'Construct blueprint tables org membership not found.' }),
|
|
143
152
|
'CONST_TYPE_FIELDS_IMMUTABLE': (0, define_1.defineError)({ code: 'CONST_TYPE_FIELDS_IMMUTABLE', class: 'public', http: 403, message: 'Const type fields immutable.' }),
|
|
144
153
|
'CONTENT_PRESET_CATALOG_MISSING': (0, define_1.defineError)({ code: 'CONTENT_PRESET_CATALOG_MISSING', class: 'internal', http: 500, message: 'Content preset catalog missing.' }),
|
|
145
154
|
'CONTENT_PRESET_EMPTY': (0, define_1.defineError)({ code: 'CONTENT_PRESET_EMPTY', class: 'public', http: 400, message: 'Content preset empty.' }),
|
|
@@ -172,7 +181,7 @@ exports.generatedRegistry = {
|
|
|
172
181
|
'DATABASE_TRANSFER_NOT_PENDING': (0, define_1.defineError)({ code: 'DATABASE_TRANSFER_NOT_PENDING', class: 'public', http: 400, message: 'Database transfer not pending.' }),
|
|
173
182
|
'DATABASE_TRANSFER_NOT_SOURCE_OWNER': (0, define_1.defineError)({ code: 'DATABASE_TRANSFER_NOT_SOURCE_OWNER', class: 'public', http: 400, message: 'Database transfer not source owner.' }),
|
|
174
183
|
'DATABASE_TRANSFER_NOT_TARGET_OWNER': (0, define_1.defineError)({ code: 'DATABASE_TRANSFER_NOT_TARGET_OWNER', class: 'public', http: 400, message: 'Database transfer not target owner.' }),
|
|
175
|
-
'DATA_BILLING_METER': (0, define_1.defineError)({ code: 'DATA_BILLING_METER', class: 'internal', http: 500, message: 'DATA_BILLING_METER: unknown event {{arg0}}, expected INSERT, DELETE, or
|
|
184
|
+
'DATA_BILLING_METER': (0, define_1.defineError)({ code: 'DATA_BILLING_METER', class: 'internal', http: 500, message: 'DATA_BILLING_METER: unknown event {{arg0}}, expected INSERT, DELETE, UPDATE, GATE or GATE_UPDATE', positional: ['arg0'] }),
|
|
176
185
|
'DATA_COMPOSITE_FIELD_PRIVATE_SCHEMA_NOT_FOUND': (0, define_1.defineError)({ code: 'DATA_COMPOSITE_FIELD_PRIVATE_SCHEMA_NOT_FOUND', class: 'public', http: 404, message: 'Data composite field private schema not found.' }),
|
|
177
186
|
'DATA_COMPOSITE_FIELD_SOURCE_FIELDS_EMPTY': (0, define_1.defineError)({ code: 'DATA_COMPOSITE_FIELD_SOURCE_FIELDS_EMPTY', class: 'public', http: 400, message: 'Data composite field source fields empty.' }),
|
|
178
187
|
'DATA_COMPOSITE_FIELD_SOURCE_FIELDS_REQUIRED': (0, define_1.defineError)({ code: 'DATA_COMPOSITE_FIELD_SOURCE_FIELDS_REQUIRED', class: 'public', http: 400, message: 'Data composite field source fields required.' }),
|
|
@@ -291,6 +300,7 @@ exports.generatedRegistry = {
|
|
|
291
300
|
'DB_POOL_CLAIM_NOT_ORGANIZATION_OWNER': (0, define_1.defineError)({ code: 'DB_POOL_CLAIM_NOT_ORGANIZATION_OWNER', class: 'public', http: 400, message: 'Db pool claim not organization owner.' }),
|
|
292
301
|
'DB_POOL_CLAIM_UNATTRIBUTED_SCHEDULE': (0, define_1.defineError)({ code: 'DB_POOL_CLAIM_UNATTRIBUTED_SCHEDULE', class: 'public', http: 400, message: 'Db pool claim unattributed schedule.' }),
|
|
293
302
|
'DB_PRESET_MODULE': (0, define_1.defineError)({ code: 'DB_PRESET_MODULE', class: 'internal', http: 500, message: 'Db preset module.' }),
|
|
303
|
+
'DECLARED_GRANT_DRIFT': (0, define_1.defineError)({ code: 'DECLARED_GRANT_DRIFT', class: 'internal', http: 500, message: 'Declared grant drift.' }),
|
|
294
304
|
'DELETE_FIRST': (0, define_1.defineError)({ code: 'DELETE_FIRST', class: 'public', http: 400, message: 'Delete first.' }),
|
|
295
305
|
'DEVICE_NOT_FOUND': (0, define_1.defineError)({ code: 'DEVICE_NOT_FOUND', class: 'public', http: 404, message: 'Device not found.' }),
|
|
296
306
|
'DOMAIN_ALREADY_CLAIMED': (0, define_1.defineError)({ code: 'DOMAIN_ALREADY_CLAIMED', class: 'public', http: 409, message: 'Domain already claimed.' }),
|
|
@@ -308,6 +318,7 @@ exports.generatedRegistry = {
|
|
|
308
318
|
'DOMAIN_ROOT_NOT_PUBLISHED': (0, define_1.defineError)({ code: 'DOMAIN_ROOT_NOT_PUBLISHED', class: 'internal', http: 500, message: 'Domain root not published.' }),
|
|
309
319
|
'DOMAIN_VERIFY_BAD_METHOD': (0, define_1.defineError)({ code: 'DOMAIN_VERIFY_BAD_METHOD', class: 'internal', http: 500, message: 'DOMAIN_VERIFY_BAD_METHOD: unsupported verification method {{arg0}}', positional: ['arg0'] }),
|
|
310
320
|
'DOMAIN_VERIFY_NO_CHALLENGE': (0, define_1.defineError)({ code: 'DOMAIN_VERIFY_NO_CHALLENGE', class: 'internal', http: 500, message: 'DOMAIN_VERIFY_NO_CHALLENGE: no outstanding {{arg0}} challenge for managed_domain {{arg1}}', positional: ['arg0', 'arg1'] }),
|
|
321
|
+
'DUPLICATE_JOB_IDS': (0, define_1.defineError)({ code: 'DUPLICATE_JOB_IDS', class: 'internal', http: 500, message: 'Duplicate job ids.' }),
|
|
311
322
|
'EMAIL_NOT_VERIFIED': (0, define_1.defineError)({ code: 'EMAIL_NOT_VERIFIED', class: 'public', http: 400, message: 'Email not verified.' }),
|
|
312
323
|
'ENTITY_CLAIM_REQUIRED': (0, define_1.defineError)({ code: 'ENTITY_CLAIM_REQUIRED', class: 'internal', http: 500, message: 'Entity claim required.' }),
|
|
313
324
|
'ENTITY_ID_REQUIRED': (0, define_1.defineError)({ code: 'ENTITY_ID_REQUIRED', class: 'public', http: 400, message: 'Entity id required.' }),
|
|
@@ -346,6 +357,8 @@ exports.generatedRegistry = {
|
|
|
346
357
|
'EVENT_TRACKER_TABLE_NOT_FOUND': (0, define_1.defineError)({ code: 'EVENT_TRACKER_TABLE_NOT_FOUND', class: 'public', http: 404, message: 'Event tracker table not found.' }),
|
|
347
358
|
'EVENT_TRACKER_UNKNOWN_EVENT': (0, define_1.defineError)({ code: 'EVENT_TRACKER_UNKNOWN_EVENT', class: 'public', http: 400, message: 'Event tracker unknown event.' }),
|
|
348
359
|
'EVENT_TRACKER_WATCH_FIELD_NOT_FOUND': (0, define_1.defineError)({ code: 'EVENT_TRACKER_WATCH_FIELD_NOT_FOUND', class: 'public', http: 404, message: 'Event tracker watch field not found.' }),
|
|
360
|
+
'EXECUTION_LOG_ENTITY_REQUIRED': (0, define_1.defineError)({ code: 'EXECUTION_LOG_ENTITY_REQUIRED', class: 'internal', http: 500, message: 'Execution log entity required.' }),
|
|
361
|
+
'EXECUTION_LOG_FOREIGN_DATABASE': (0, define_1.defineError)({ code: 'EXECUTION_LOG_FOREIGN_DATABASE', class: 'internal', http: 500, message: 'Execution log foreign database.' }),
|
|
349
362
|
'EXECUTION_NOT_FOUND': (0, define_1.defineError)({ code: 'EXECUTION_NOT_FOUND', class: 'internal', http: 500, message: 'Execution not found.' }),
|
|
350
363
|
'EXPIRED_TOKEN': (0, define_1.defineError)({ code: 'EXPIRED_TOKEN', class: 'public', http: 400, message: 'Expired token.' }),
|
|
351
364
|
'EXTERNAL_BUILDER_NOT_ENTITLED': (0, define_1.defineError)({ code: 'EXTERNAL_BUILDER_NOT_ENTITLED', class: 'public', http: 400, message: 'External builder not entitled.' }),
|
|
@@ -356,7 +369,6 @@ exports.generatedRegistry = {
|
|
|
356
369
|
'FILE_REF_FIELD': (0, define_1.defineError)({ code: 'FILE_REF_FIELD', class: 'internal', http: 500, message: 'File ref field.' }),
|
|
357
370
|
'FORBIDDEN': (0, define_1.defineError)({ code: 'FORBIDDEN', class: 'public', http: 403, message: 'Forbidden.' }),
|
|
358
371
|
'FOREIGN_KEY_CONSTRAINT_NOT_FOUND': (0, define_1.defineError)({ code: 'FOREIGN_KEY_CONSTRAINT_NOT_FOUND', class: 'internal', http: 500, message: 'Foreign key constraint not found.' }),
|
|
359
|
-
'FREE_PLAN_REQUIRED': (0, define_1.defineError)({ code: 'FREE_PLAN_REQUIRED', class: 'internal', http: 500, message: 'Free plan required.' }),
|
|
360
372
|
'FUNCTION_BODY_DEPARSE_EMPTY': (0, define_1.defineError)({ code: 'FUNCTION_BODY_DEPARSE_EMPTY', class: 'internal', http: 500, message: 'Function body deparse empty.' }),
|
|
361
373
|
'FUNCTION_ENVELOPE_VIOLATION': (0, define_1.defineError)({ code: 'FUNCTION_ENVELOPE_VIOLATION', class: 'internal', http: 500, message: 'Function envelope violation.' }),
|
|
362
374
|
'FUNCTION_GRAPH_NOT_FOUND': (0, define_1.defineError)({ code: 'FUNCTION_GRAPH_NOT_FOUND', class: 'internal', http: 500, message: 'Function graph not found.' }),
|
|
@@ -487,7 +499,9 @@ exports.generatedRegistry = {
|
|
|
487
499
|
'INVOCATION_RATE_LIMIT_EXCEEDED': (0, define_1.defineError)({ code: 'INVOCATION_RATE_LIMIT_EXCEEDED', class: 'public', http: 429, message: 'Invocation rate limit exceeded.' }),
|
|
488
500
|
'INVOCATION_RATE_LIMIT_NOT_PROVISIONED': (0, define_1.defineError)({ code: 'INVOCATION_RATE_LIMIT_NOT_PROVISIONED', class: 'internal', http: 500, message: 'Invocation rate limit not provisioned.' }),
|
|
489
501
|
'INVOCATION_USAGE': (0, define_1.defineError)({ code: 'INVOCATION_USAGE', class: 'internal', http: 500, message: 'INVOCATION_USAGE: billing_schema and record_usage_fn are required — the generator must only build this trigger when billing is provisioned' }),
|
|
502
|
+
'JOB_DEFERRAL_ARRAYS_MISMATCH': (0, define_1.defineError)({ code: 'JOB_DEFERRAL_ARRAYS_MISMATCH', class: 'internal', http: 500, message: 'Job deferral arrays mismatch.' }),
|
|
490
503
|
'JOB_ENQUEUE_FAILED': (0, define_1.defineError)({ code: 'JOB_ENQUEUE_FAILED', class: 'internal', http: 500, message: 'Job enqueue failed.' }),
|
|
504
|
+
'JOB_FAILURE_ARRAYS_MISMATCH': (0, define_1.defineError)({ code: 'JOB_FAILURE_ARRAYS_MISMATCH', class: 'internal', http: 500, message: 'Job failure arrays mismatch.' }),
|
|
491
505
|
'JSONB_PATH_FIELD': (0, define_1.defineError)({ code: 'JSONB_PATH_FIELD', class: 'internal', http: 500, message: 'Jsonb path field.' }),
|
|
492
506
|
'K8S_ADMISSION_MODULE': (0, define_1.defineError)({ code: 'K8S_ADMISSION_MODULE', class: 'internal', http: 500, message: 'K8s admission module.' }),
|
|
493
507
|
'LIMIT_ENFORCE_AGGREGATE_ENTITY_FIELD_NOT_FOUND': (0, define_1.defineError)({ code: 'LIMIT_ENFORCE_AGGREGATE_ENTITY_FIELD_NOT_FOUND', class: 'public', http: 404, message: 'Limit enforce aggregate entity field not found.' }),
|
|
@@ -559,6 +573,7 @@ exports.generatedRegistry = {
|
|
|
559
573
|
'METER_RATE_LIMIT': (0, define_1.defineError)({ code: 'METER_RATE_LIMIT', class: 'internal', http: 500, message: 'METER_RATE_LIMIT: unknown event {{arg0}}, expected INSERT or UPDATE', positional: ['arg0'] }),
|
|
560
574
|
'MFA_CHALLENGE_EXPIRED': (0, define_1.defineError)({ code: 'MFA_CHALLENGE_EXPIRED', class: 'public', http: 403, message: 'Mfa challenge expired.' }),
|
|
561
575
|
'MFA_IDENTIFIER_UNVERIFIED': (0, define_1.defineError)({ code: 'MFA_IDENTIFIER_UNVERIFIED', class: 'public', http: 403, message: 'Mfa identifier unverified.' }),
|
|
576
|
+
'MFA_METHOD_NOT_ENABLED': (0, define_1.defineError)({ code: 'MFA_METHOD_NOT_ENABLED', class: 'public', http: 403, message: 'Mfa method not enabled.' }),
|
|
562
577
|
'MFA_REQUIRED': (0, define_1.defineError)({ code: 'MFA_REQUIRED', class: 'public', http: 403, message: 'Mfa required.' }),
|
|
563
578
|
'MISSING_FIXTURE_TYPE': (0, define_1.defineError)({ code: 'MISSING_FIXTURE_TYPE', class: 'internal', http: 500, message: 'Missing fixture type.' }),
|
|
564
579
|
'MISSING_REQUIRED_FIELD': (0, define_1.defineError)({ code: 'MISSING_REQUIRED_FIELD', class: 'public', http: 400, message: 'Missing required field.' }),
|
|
@@ -587,6 +602,7 @@ exports.generatedRegistry = {
|
|
|
587
602
|
'OWNER_FIELD_NOT_FOUND': (0, define_1.defineError)({ code: 'OWNER_FIELD_NOT_FOUND', class: 'public', http: 404, message: 'Owner field not found.' }),
|
|
588
603
|
'OWNER_FIELD_NOT_IN_OWNER_TABLE': (0, define_1.defineError)({ code: 'OWNER_FIELD_NOT_IN_OWNER_TABLE', class: 'public', http: 400, message: 'Owner field not in owner table.' }),
|
|
589
604
|
'PAGES_MODULE': (0, define_1.defineError)({ code: 'PAGES_MODULE', class: 'internal', http: 500, message: 'Pages module.' }),
|
|
605
|
+
'PARENT_CURSOR_NOT_ADVANCED': (0, define_1.defineError)({ code: 'PARENT_CURSOR_NOT_ADVANCED', class: 'public', http: 400, message: 'Parent cursor not advanced.' }),
|
|
590
606
|
'PARENT_ENTITY_TYPE_NOT_FOUND': (0, define_1.defineError)({ code: 'PARENT_ENTITY_TYPE_NOT_FOUND', class: 'public', http: 404, message: 'Parent entity type not found.' }),
|
|
591
607
|
'PARENT_EXECUTION_NOT_FOUND': (0, define_1.defineError)({ code: 'PARENT_EXECUTION_NOT_FOUND', class: 'internal', http: 500, message: 'Parent execution not found.' }),
|
|
592
608
|
'PASSWORD_INSECURE': (0, define_1.defineError)({ code: 'PASSWORD_INSECURE', class: 'public', http: 400, message: 'Password insecure.' }),
|
|
@@ -672,6 +688,16 @@ exports.generatedRegistry = {
|
|
|
672
688
|
'ROUTING_API_TABLES_SCOPE_REQUIRED': (0, define_1.defineError)({ code: 'ROUTING_API_TABLES_SCOPE_REQUIRED', class: 'public', http: 400, message: 'Routing api tables scope required.' }),
|
|
673
689
|
'ROUTING_SURFACE_NOT_PROVISIONED': (0, define_1.defineError)({ code: 'ROUTING_SURFACE_NOT_PROVISIONED', class: 'public', http: 400, message: 'Routing surface not provisioned.' }),
|
|
674
690
|
'ROW_LOCKED': (0, define_1.defineError)({ code: 'ROW_LOCKED', class: 'public', http: 423, message: 'Row locked.' }),
|
|
691
|
+
'SCHEDULED_JOB_NOT_ENQUEUED': (0, define_1.defineError)({ code: 'SCHEDULED_JOB_NOT_ENQUEUED', class: 'internal', http: 500, message: 'Scheduled job not enqueued.' }),
|
|
692
|
+
'SCHEDULED_TASK_IDENTIFIER_REQUIRED': (0, define_1.defineError)({ code: 'SCHEDULED_TASK_IDENTIFIER_REQUIRED', class: 'public', http: 400, message: 'Scheduled task identifier required.' }),
|
|
693
|
+
'SCHEDULE_BATCH_SIZE_INVALID': (0, define_1.defineError)({ code: 'SCHEDULE_BATCH_SIZE_INVALID', class: 'public', http: 400, message: 'Schedule batch size invalid.' }),
|
|
694
|
+
'SCHEDULE_DEFER_INTERVAL_INVALID': (0, define_1.defineError)({ code: 'SCHEDULE_DEFER_INTERVAL_INVALID', class: 'public', http: 400, message: 'Schedule defer interval invalid.' }),
|
|
695
|
+
'SCHEDULE_DEFER_REASON_REQUIRED': (0, define_1.defineError)({ code: 'SCHEDULE_DEFER_REASON_REQUIRED', class: 'public', http: 400, message: 'Schedule defer reason required.' }),
|
|
696
|
+
'SCHEDULE_FANOUT_LANE_INVALID': (0, define_1.defineError)({ code: 'SCHEDULE_FANOUT_LANE_INVALID', class: 'internal', http: 500, message: 'Schedule fanout lane invalid.' }),
|
|
697
|
+
'SCHEDULE_FANOUT_TASK_NOT_ALLOWED': (0, define_1.defineError)({ code: 'SCHEDULE_FANOUT_TASK_NOT_ALLOWED', class: 'internal', http: 500, message: 'Schedule fanout task not allowed.' }),
|
|
698
|
+
'SCHEDULE_FANOUT_TENANTS_PER_LANE_INVALID': (0, define_1.defineError)({ code: 'SCHEDULE_FANOUT_TENANTS_PER_LANE_INVALID', class: 'internal', http: 500, message: 'Schedule fanout tenants per lane invalid.' }),
|
|
699
|
+
'SCHEDULE_RULE_INVALID': (0, define_1.defineError)({ code: 'SCHEDULE_RULE_INVALID', class: 'public', http: 400, message: 'Schedule rule invalid.' }),
|
|
700
|
+
'SCHEDULE_RULE_UNSATISFIABLE': (0, define_1.defineError)({ code: 'SCHEDULE_RULE_UNSATISFIABLE', class: 'public', http: 400, message: 'Schedule rule unsatisfiable.' }),
|
|
675
701
|
'SCOPE_TYPE_BACKFILL': (0, define_1.defineError)({ code: 'SCOPE_TYPE_BACKFILL', class: 'internal', http: 500, message: 'SCOPE_TYPE_BACKFILL: the membership types table must be resolved before generating a statement' }),
|
|
676
702
|
'SCOPE_TYPE_SYNC': (0, define_1.defineError)({ code: 'SCOPE_TYPE_SYNC', class: 'internal', http: 500, message: 'SCOPE_TYPE_SYNC: the scope type projection must be resolved before generating a body' }),
|
|
677
703
|
'SEARCH_BM25': (0, define_1.defineError)({ code: 'SEARCH_BM25', class: 'public', http: 400, message: 'Search bm25.' }),
|
|
@@ -753,10 +779,10 @@ exports.generatedRegistry = {
|
|
|
753
779
|
'SSO_STATE_TTL_INVALID': (0, define_1.defineError)({ code: 'SSO_STATE_TTL_INVALID', class: 'internal', http: 500, message: 'Sso state ttl invalid.' }),
|
|
754
780
|
'STATIC_SITES_LIMIT': (0, define_1.defineError)({ code: 'STATIC_SITES_LIMIT', class: 'public', http: 429, message: 'Static sites limit.' }),
|
|
755
781
|
'STEP_UP_INVALID_TYPE': (0, define_1.defineError)({ code: 'STEP_UP_INVALID_TYPE', class: 'public', http: 403, message: 'This action requires verification that is not configured correctly. Please contact support.' }),
|
|
756
|
-
'STEP_UP_REQUIRED': (0, define_1.defineError)({ code: 'STEP_UP_REQUIRED', class: 'public', http: 403, message: 'Step up required.' }),
|
|
757
782
|
'STEP_UP_REQUIRED_FRESH_AUTH': (0, define_1.defineError)({ code: 'STEP_UP_REQUIRED_FRESH_AUTH', class: 'public', http: 403, message: 'Please verify your identity to continue.' }),
|
|
758
783
|
'STEP_UP_REQUIRED_MFA': (0, define_1.defineError)({ code: 'STEP_UP_REQUIRED_MFA', class: 'public', http: 403, message: 'Please enter a code from your authenticator app to continue.' }),
|
|
759
784
|
'STEP_UP_REQUIRED_PASSWORD': (0, define_1.defineError)({ code: 'STEP_UP_REQUIRED_PASSWORD', class: 'public', http: 403, message: 'Please re-enter your password to continue.' }),
|
|
785
|
+
'STEP_UP_REQUIRED_PASSWORD_OR_MFA': (0, define_1.defineError)({ code: 'STEP_UP_REQUIRED_PASSWORD_OR_MFA', class: 'public', http: 403, message: 'Please re-enter your password or enter a code from your authenticator app to continue.' }),
|
|
760
786
|
'STORAGE_API_NOT_PROVISIONED': (0, define_1.defineError)({ code: 'STORAGE_API_NOT_PROVISIONED', class: 'public', http: 400, message: 'Storage api not provisioned.' }),
|
|
761
787
|
'STORAGE_DESTINATION_REQUIRES_TEMP': (0, define_1.defineError)({ code: 'STORAGE_DESTINATION_REQUIRES_TEMP', class: 'internal', http: 500, message: 'Storage destination requires temp.' }),
|
|
762
788
|
'STORAGE_FILE_BUCKET_IMMUTABLE': (0, define_1.defineError)({ code: 'STORAGE_FILE_BUCKET_IMMUTABLE', class: 'internal', http: 500, message: 'Storage file bucket immutable.' }),
|
|
@@ -770,8 +796,6 @@ exports.generatedRegistry = {
|
|
|
770
796
|
'STORAGE_GC_REF_CROSS_DATABASE': (0, define_1.defineError)({ code: 'STORAGE_GC_REF_CROSS_DATABASE', class: 'internal', http: 500, message: 'Storage gc ref cross database.' }),
|
|
771
797
|
'STORAGE_GC_REF_FIELD_MISSING': (0, define_1.defineError)({ code: 'STORAGE_GC_REF_FIELD_MISSING', class: 'internal', http: 500, message: 'Storage gc ref field missing.' }),
|
|
772
798
|
'STORAGE_GC_REF_TABLE_MISSING': (0, define_1.defineError)({ code: 'STORAGE_GC_REF_TABLE_MISSING', class: 'internal', http: 500, message: 'Storage gc ref table missing.' }),
|
|
773
|
-
'STORAGE_MODULE_ENTITY_FIELD_INVALID': (0, define_1.defineError)({ code: 'STORAGE_MODULE_ENTITY_FIELD_INVALID', class: 'internal', http: 500, message: 'Storage module entity field invalid.' }),
|
|
774
|
-
'STORAGE_MODULE_NOT_FOUND': (0, define_1.defineError)({ code: 'STORAGE_MODULE_NOT_FOUND', class: 'internal', http: 500, message: 'Storage module not found.' }),
|
|
775
799
|
'STORAGE_PROMOTION_DESTINATION_MISMATCH': (0, define_1.defineError)({ code: 'STORAGE_PROMOTION_DESTINATION_MISMATCH', class: 'internal', http: 500, message: 'Storage promotion destination mismatch.' }),
|
|
776
800
|
'STORAGE_PROMOTION_VISIBILITY_MISMATCH': (0, define_1.defineError)({ code: 'STORAGE_PROMOTION_VISIBILITY_MISMATCH', class: 'internal', http: 500, message: 'Storage promotion visibility mismatch.' }),
|
|
777
801
|
'STORAGE_STAGING_BUCKET_NO_DESTINATION': (0, define_1.defineError)({ code: 'STORAGE_STAGING_BUCKET_NO_DESTINATION', class: 'internal', http: 500, message: 'Storage staging bucket no destination.' }),
|
|
@@ -897,8 +921,11 @@ exports.GENERATED_CODE_META = {
|
|
|
897
921
|
'BAD_RLS_EXPRESSION': { class: 'public', dynamic: false, generatedOnly: false },
|
|
898
922
|
'BAD_VIEW_EXPRESSION': { class: 'public', dynamic: false, generatedOnly: false },
|
|
899
923
|
'BEHAVIOR_FRAGMENT_EMPTY': { class: 'internal', dynamic: false, generatedOnly: false },
|
|
924
|
+
'BILLING_CHECKOUT_BINDING_INVALID': { class: 'internal', dynamic: false, generatedOnly: true },
|
|
925
|
+
'BILLING_DISABLED': { class: 'public', dynamic: false, generatedOnly: true },
|
|
900
926
|
'BILLING_DISPUTE_BALANCE_NOT_FOUND': { class: 'internal', dynamic: false, generatedOnly: false },
|
|
901
927
|
'BILLING_ENTITY_BUSY': { class: 'public', dynamic: false, generatedOnly: true },
|
|
928
|
+
'BILLING_GRANT_INVALID': { class: 'public', dynamic: false, generatedOnly: true },
|
|
902
929
|
'BILLING_HEALTH_INVALID': { class: 'internal', dynamic: false, generatedOnly: true },
|
|
903
930
|
'BILLING_NOT_READY': { class: 'public', dynamic: false, generatedOnly: false },
|
|
904
931
|
'BILLING_OBSERVATION_INVALID': { class: 'internal', dynamic: false, generatedOnly: true },
|
|
@@ -907,14 +934,19 @@ exports.GENERATED_CODE_META = {
|
|
|
907
934
|
'BILLING_OPERATION_NOT_FOUND': { class: 'internal', dynamic: false, generatedOnly: true },
|
|
908
935
|
'BILLING_OPERATION_SETTLED': { class: 'internal', dynamic: false, generatedOnly: true },
|
|
909
936
|
'BILLING_OPERATION_STATE_INVALID': { class: 'internal', dynamic: false, generatedOnly: true },
|
|
937
|
+
'BILLING_PAYER_UNRESOLVED': { class: 'internal', dynamic: false, generatedOnly: false },
|
|
938
|
+
'BILLING_QUOTA_EXCEEDED': { class: 'public', dynamic: false, generatedOnly: false },
|
|
910
939
|
'BILLING_RECONCILE_BOUNDS_REQUIRED': { class: 'internal', dynamic: false, generatedOnly: true },
|
|
911
940
|
'BILLING_SCHEDULED_CHANGE_INVALID': { class: 'internal', dynamic: false, generatedOnly: true },
|
|
941
|
+
'BILLING_SUBSCRIPTION_ACTIVE': { class: 'public', dynamic: false, generatedOnly: false },
|
|
942
|
+
'BILLING_UNKNOWN_METER': { class: 'public', dynamic: false, generatedOnly: true },
|
|
912
943
|
'BLUEPRINT_MODULE_NOT_INSTALLED': { class: 'public', dynamic: false, generatedOnly: false },
|
|
913
944
|
'BLUEPRINT_MODULE_REF_AMBIGUOUS': { class: 'public', dynamic: false, generatedOnly: false },
|
|
914
945
|
'BLUEPRINT_MODULE_REF_INVALID': { class: 'public', dynamic: false, generatedOnly: false },
|
|
915
946
|
'BLUEPRINT_MODULE_TABLE_UNKNOWN': { class: 'public', dynamic: false, generatedOnly: false },
|
|
916
947
|
'BM25': { class: 'public', dynamic: false, generatedOnly: false },
|
|
917
948
|
'BOOTSTRAP_DATABASE_MISSING': { class: 'internal', dynamic: false, generatedOnly: false },
|
|
949
|
+
'BOOTSTRAP_OWNER_NOT_ACTIVE': { class: 'internal', dynamic: false, generatedOnly: false },
|
|
918
950
|
'BOOTSTRAP_SOURCE_MISSING': { class: 'internal', dynamic: false, generatedOnly: false },
|
|
919
951
|
'BOOTSTRAP_TARGET_NOT_EMPTY': { class: 'internal', dynamic: false, generatedOnly: false },
|
|
920
952
|
'BUILD_CONDITION_EXPR': { class: 'internal', dynamic: false, generatedOnly: false },
|
|
@@ -960,6 +992,7 @@ exports.GENERATED_CODE_META = {
|
|
|
960
992
|
'CONSTRUCT_BLUEPRINT_PROVISIONS_WITHOUT_MODULE': { class: 'public', dynamic: false, generatedOnly: false },
|
|
961
993
|
'CONSTRUCT_BLUEPRINT_SCHEMA_NOT_FOUND': { class: 'internal', dynamic: false, generatedOnly: false },
|
|
962
994
|
'CONSTRUCT_BLUEPRINT_STORAGE_ORG_MEMBERSHIP_NOT_FOUND': { class: 'internal', dynamic: false, generatedOnly: false },
|
|
995
|
+
'CONSTRUCT_BLUEPRINT_TABLES_ORG_MEMBERSHIP_NOT_FOUND': { class: 'internal', dynamic: false, generatedOnly: false },
|
|
963
996
|
'CONST_TYPE_FIELDS_IMMUTABLE': { class: 'public', dynamic: false, generatedOnly: false },
|
|
964
997
|
'CONTENT_PRESET_CATALOG_MISSING': { class: 'internal', dynamic: false, generatedOnly: false },
|
|
965
998
|
'CONTENT_PRESET_EMPTY': { class: 'public', dynamic: false, generatedOnly: false },
|
|
@@ -1111,6 +1144,7 @@ exports.GENERATED_CODE_META = {
|
|
|
1111
1144
|
'DB_POOL_CLAIM_NOT_ORGANIZATION_OWNER': { class: 'public', dynamic: false, generatedOnly: false },
|
|
1112
1145
|
'DB_POOL_CLAIM_UNATTRIBUTED_SCHEDULE': { class: 'public', dynamic: false, generatedOnly: false },
|
|
1113
1146
|
'DB_PRESET_MODULE': { class: 'internal', dynamic: false, generatedOnly: false },
|
|
1147
|
+
'DECLARED_GRANT_DRIFT': { class: 'internal', dynamic: false, generatedOnly: false },
|
|
1114
1148
|
'DELETE_FIRST': { class: 'public', dynamic: false, generatedOnly: false },
|
|
1115
1149
|
'DEVICE_NOT_FOUND': { class: 'public', dynamic: false, generatedOnly: false },
|
|
1116
1150
|
'DOMAIN_ALREADY_CLAIMED': { class: 'public', dynamic: false, generatedOnly: false },
|
|
@@ -1128,6 +1162,7 @@ exports.GENERATED_CODE_META = {
|
|
|
1128
1162
|
'DOMAIN_ROOT_NOT_PUBLISHED': { class: 'internal', dynamic: false, generatedOnly: true },
|
|
1129
1163
|
'DOMAIN_VERIFY_BAD_METHOD': { class: 'internal', dynamic: true, generatedOnly: true },
|
|
1130
1164
|
'DOMAIN_VERIFY_NO_CHALLENGE': { class: 'internal', dynamic: true, generatedOnly: true },
|
|
1165
|
+
'DUPLICATE_JOB_IDS': { class: 'internal', dynamic: false, generatedOnly: true },
|
|
1131
1166
|
'EMAIL_NOT_VERIFIED': { class: 'public', dynamic: false, generatedOnly: false },
|
|
1132
1167
|
'ENTITY_CLAIM_REQUIRED': { class: 'internal', dynamic: false, generatedOnly: true },
|
|
1133
1168
|
'ENTITY_ID_REQUIRED': { class: 'public', dynamic: false, generatedOnly: false },
|
|
@@ -1166,6 +1201,8 @@ exports.GENERATED_CODE_META = {
|
|
|
1166
1201
|
'EVENT_TRACKER_TABLE_NOT_FOUND': { class: 'public', dynamic: false, generatedOnly: false },
|
|
1167
1202
|
'EVENT_TRACKER_UNKNOWN_EVENT': { class: 'public', dynamic: false, generatedOnly: false },
|
|
1168
1203
|
'EVENT_TRACKER_WATCH_FIELD_NOT_FOUND': { class: 'public', dynamic: false, generatedOnly: false },
|
|
1204
|
+
'EXECUTION_LOG_ENTITY_REQUIRED': { class: 'internal', dynamic: false, generatedOnly: false },
|
|
1205
|
+
'EXECUTION_LOG_FOREIGN_DATABASE': { class: 'internal', dynamic: false, generatedOnly: false },
|
|
1169
1206
|
'EXECUTION_NOT_FOUND': { class: 'internal', dynamic: false, generatedOnly: false },
|
|
1170
1207
|
'EXPIRED_TOKEN': { class: 'public', dynamic: false, generatedOnly: false },
|
|
1171
1208
|
'EXTERNAL_BUILDER_NOT_ENTITLED': { class: 'public', dynamic: false, generatedOnly: false },
|
|
@@ -1176,7 +1213,6 @@ exports.GENERATED_CODE_META = {
|
|
|
1176
1213
|
'FILE_REF_FIELD': { class: 'internal', dynamic: false, generatedOnly: false },
|
|
1177
1214
|
'FORBIDDEN': { class: 'public', dynamic: false, generatedOnly: false },
|
|
1178
1215
|
'FOREIGN_KEY_CONSTRAINT_NOT_FOUND': { class: 'internal', dynamic: false, generatedOnly: false },
|
|
1179
|
-
'FREE_PLAN_REQUIRED': { class: 'internal', dynamic: false, generatedOnly: false },
|
|
1180
1216
|
'FUNCTION_BODY_DEPARSE_EMPTY': { class: 'internal', dynamic: false, generatedOnly: false },
|
|
1181
1217
|
'FUNCTION_ENVELOPE_VIOLATION': { class: 'internal', dynamic: false, generatedOnly: false },
|
|
1182
1218
|
'FUNCTION_GRAPH_NOT_FOUND': { class: 'internal', dynamic: false, generatedOnly: false },
|
|
@@ -1307,7 +1343,9 @@ exports.GENERATED_CODE_META = {
|
|
|
1307
1343
|
'INVOCATION_RATE_LIMIT_EXCEEDED': { class: 'public', dynamic: false, generatedOnly: false },
|
|
1308
1344
|
'INVOCATION_RATE_LIMIT_NOT_PROVISIONED': { class: 'internal', dynamic: false, generatedOnly: false },
|
|
1309
1345
|
'INVOCATION_USAGE': { class: 'internal', dynamic: false, generatedOnly: false },
|
|
1346
|
+
'JOB_DEFERRAL_ARRAYS_MISMATCH': { class: 'internal', dynamic: false, generatedOnly: true },
|
|
1310
1347
|
'JOB_ENQUEUE_FAILED': { class: 'internal', dynamic: false, generatedOnly: false },
|
|
1348
|
+
'JOB_FAILURE_ARRAYS_MISMATCH': { class: 'internal', dynamic: false, generatedOnly: true },
|
|
1311
1349
|
'JSONB_PATH_FIELD': { class: 'internal', dynamic: false, generatedOnly: false },
|
|
1312
1350
|
'K8S_ADMISSION_MODULE': { class: 'internal', dynamic: false, generatedOnly: false },
|
|
1313
1351
|
'LIMIT_ENFORCE_AGGREGATE_ENTITY_FIELD_NOT_FOUND': { class: 'public', dynamic: false, generatedOnly: false },
|
|
@@ -1379,6 +1417,7 @@ exports.GENERATED_CODE_META = {
|
|
|
1379
1417
|
'METER_RATE_LIMIT': { class: 'internal', dynamic: true, generatedOnly: false },
|
|
1380
1418
|
'MFA_CHALLENGE_EXPIRED': { class: 'public', dynamic: false, generatedOnly: false },
|
|
1381
1419
|
'MFA_IDENTIFIER_UNVERIFIED': { class: 'public', dynamic: false, generatedOnly: false },
|
|
1420
|
+
'MFA_METHOD_NOT_ENABLED': { class: 'public', dynamic: false, generatedOnly: false },
|
|
1382
1421
|
'MFA_REQUIRED': { class: 'public', dynamic: false, generatedOnly: false },
|
|
1383
1422
|
'MISSING_FIXTURE_TYPE': { class: 'internal', dynamic: false, generatedOnly: false },
|
|
1384
1423
|
'MISSING_REQUIRED_FIELD': { class: 'public', dynamic: false, generatedOnly: false },
|
|
@@ -1407,6 +1446,7 @@ exports.GENERATED_CODE_META = {
|
|
|
1407
1446
|
'OWNER_FIELD_NOT_FOUND': { class: 'public', dynamic: false, generatedOnly: false },
|
|
1408
1447
|
'OWNER_FIELD_NOT_IN_OWNER_TABLE': { class: 'public', dynamic: false, generatedOnly: false },
|
|
1409
1448
|
'PAGES_MODULE': { class: 'internal', dynamic: false, generatedOnly: false },
|
|
1449
|
+
'PARENT_CURSOR_NOT_ADVANCED': { class: 'public', dynamic: false, generatedOnly: false },
|
|
1410
1450
|
'PARENT_ENTITY_TYPE_NOT_FOUND': { class: 'public', dynamic: false, generatedOnly: false },
|
|
1411
1451
|
'PARENT_EXECUTION_NOT_FOUND': { class: 'internal', dynamic: false, generatedOnly: false },
|
|
1412
1452
|
'PASSWORD_INSECURE': { class: 'public', dynamic: false, generatedOnly: false },
|
|
@@ -1492,6 +1532,16 @@ exports.GENERATED_CODE_META = {
|
|
|
1492
1532
|
'ROUTING_API_TABLES_SCOPE_REQUIRED': { class: 'public', dynamic: false, generatedOnly: false },
|
|
1493
1533
|
'ROUTING_SURFACE_NOT_PROVISIONED': { class: 'public', dynamic: false, generatedOnly: false },
|
|
1494
1534
|
'ROW_LOCKED': { class: 'public', dynamic: false, generatedOnly: false },
|
|
1535
|
+
'SCHEDULED_JOB_NOT_ENQUEUED': { class: 'internal', dynamic: false, generatedOnly: true },
|
|
1536
|
+
'SCHEDULED_TASK_IDENTIFIER_REQUIRED': { class: 'public', dynamic: false, generatedOnly: true },
|
|
1537
|
+
'SCHEDULE_BATCH_SIZE_INVALID': { class: 'public', dynamic: false, generatedOnly: true },
|
|
1538
|
+
'SCHEDULE_DEFER_INTERVAL_INVALID': { class: 'public', dynamic: false, generatedOnly: true },
|
|
1539
|
+
'SCHEDULE_DEFER_REASON_REQUIRED': { class: 'public', dynamic: false, generatedOnly: true },
|
|
1540
|
+
'SCHEDULE_FANOUT_LANE_INVALID': { class: 'internal', dynamic: false, generatedOnly: false },
|
|
1541
|
+
'SCHEDULE_FANOUT_TASK_NOT_ALLOWED': { class: 'internal', dynamic: false, generatedOnly: false },
|
|
1542
|
+
'SCHEDULE_FANOUT_TENANTS_PER_LANE_INVALID': { class: 'internal', dynamic: false, generatedOnly: false },
|
|
1543
|
+
'SCHEDULE_RULE_INVALID': { class: 'public', dynamic: false, generatedOnly: true },
|
|
1544
|
+
'SCHEDULE_RULE_UNSATISFIABLE': { class: 'public', dynamic: false, generatedOnly: true },
|
|
1495
1545
|
'SCOPE_TYPE_BACKFILL': { class: 'internal', dynamic: false, generatedOnly: false },
|
|
1496
1546
|
'SCOPE_TYPE_SYNC': { class: 'internal', dynamic: true, generatedOnly: false },
|
|
1497
1547
|
'SEARCH_BM25': { class: 'public', dynamic: false, generatedOnly: false },
|
|
@@ -1573,10 +1623,10 @@ exports.GENERATED_CODE_META = {
|
|
|
1573
1623
|
'SSO_STATE_TTL_INVALID': { class: 'internal', dynamic: false, generatedOnly: false },
|
|
1574
1624
|
'STATIC_SITES_LIMIT': { class: 'public', dynamic: false, generatedOnly: false },
|
|
1575
1625
|
'STEP_UP_INVALID_TYPE': { class: 'public', dynamic: false, generatedOnly: false },
|
|
1576
|
-
'STEP_UP_REQUIRED': { class: 'public', dynamic: false, generatedOnly: false },
|
|
1577
1626
|
'STEP_UP_REQUIRED_FRESH_AUTH': { class: 'public', dynamic: false, generatedOnly: false },
|
|
1578
1627
|
'STEP_UP_REQUIRED_MFA': { class: 'public', dynamic: false, generatedOnly: false },
|
|
1579
1628
|
'STEP_UP_REQUIRED_PASSWORD': { class: 'public', dynamic: false, generatedOnly: false },
|
|
1629
|
+
'STEP_UP_REQUIRED_PASSWORD_OR_MFA': { class: 'public', dynamic: false, generatedOnly: false },
|
|
1580
1630
|
'STORAGE_API_NOT_PROVISIONED': { class: 'public', dynamic: false, generatedOnly: false },
|
|
1581
1631
|
'STORAGE_DESTINATION_REQUIRES_TEMP': { class: 'internal', dynamic: false, generatedOnly: false },
|
|
1582
1632
|
'STORAGE_FILE_BUCKET_IMMUTABLE': { class: 'internal', dynamic: false, generatedOnly: false },
|
|
@@ -1590,8 +1640,6 @@ exports.GENERATED_CODE_META = {
|
|
|
1590
1640
|
'STORAGE_GC_REF_CROSS_DATABASE': { class: 'internal', dynamic: false, generatedOnly: false },
|
|
1591
1641
|
'STORAGE_GC_REF_FIELD_MISSING': { class: 'internal', dynamic: false, generatedOnly: false },
|
|
1592
1642
|
'STORAGE_GC_REF_TABLE_MISSING': { class: 'internal', dynamic: false, generatedOnly: false },
|
|
1593
|
-
'STORAGE_MODULE_ENTITY_FIELD_INVALID': { class: 'internal', dynamic: false, generatedOnly: false },
|
|
1594
|
-
'STORAGE_MODULE_NOT_FOUND': { class: 'internal', dynamic: false, generatedOnly: false },
|
|
1595
1643
|
'STORAGE_PROMOTION_DESTINATION_MISMATCH': { class: 'internal', dynamic: false, generatedOnly: false },
|
|
1596
1644
|
'STORAGE_PROMOTION_VISIBILITY_MISMATCH': { class: 'internal', dynamic: false, generatedOnly: false },
|
|
1597
1645
|
'STORAGE_STAGING_BUCKET_NO_DESTINATION': { class: 'internal', dynamic: false, generatedOnly: false },
|
|
@@ -1657,4 +1705,4 @@ exports.GENERATED_CODE_META = {
|
|
|
1657
1705
|
'WITH_CHECK_NOT_ALLOWED': { class: 'public', dynamic: false, generatedOnly: false },
|
|
1658
1706
|
};
|
|
1659
1707
|
/** Total number of codes collected from constructive-db. */
|
|
1660
|
-
exports.GENERATED_CODE_COUNT =
|
|
1708
|
+
exports.GENERATED_CODE_COUNT = 841;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@constructive-io/errors",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.22.0",
|
|
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.8.0",
|
|
42
42
|
"ts-node": "^10.9.2"
|
|
43
43
|
},
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "1bab719e353dad566819d58ba7912dd335ef51c4"
|
|
45
45
|
}
|
package/registry.d.ts
CHANGED
|
@@ -78,6 +78,7 @@ export declare const registry: {
|
|
|
78
78
|
resource?: string;
|
|
79
79
|
limit?: number;
|
|
80
80
|
}>;
|
|
81
|
+
readonly BILLING_QUOTA_EXCEEDED: import("./define").DefinedError<import("./types").EmptyContext>;
|
|
81
82
|
readonly RATE_LIMITED: import("./define").DefinedError<import("./types").EmptyContext>;
|
|
82
83
|
readonly BILLING_NOT_READY: import("./define").DefinedError<{
|
|
83
84
|
database_id?: string;
|
|
@@ -91,6 +92,10 @@ export declare const registry: {
|
|
|
91
92
|
operation_id?: string;
|
|
92
93
|
}>;
|
|
93
94
|
readonly BILLING_OPERATION_INVALID: import("./define").DefinedError<import("./types").EmptyContext>;
|
|
95
|
+
readonly BILLING_SUBSCRIPTION_ACTIVE: import("./define").DefinedError<{
|
|
96
|
+
entity_id?: string;
|
|
97
|
+
external_subscription_id?: string;
|
|
98
|
+
}>;
|
|
94
99
|
readonly UNKNOWN_METER: import("./define").DefinedError<{
|
|
95
100
|
meter_slug?: string;
|
|
96
101
|
}>;
|
package/registry.js
CHANGED
|
@@ -373,6 +373,12 @@ exports.registry = {
|
|
|
373
373
|
message: 'You have reached a plan limit for this resource.',
|
|
374
374
|
positional: ['resource', 'limit']
|
|
375
375
|
}),
|
|
376
|
+
BILLING_QUOTA_EXCEEDED: (0, define_1.defineError)({
|
|
377
|
+
code: 'BILLING_QUOTA_EXCEEDED',
|
|
378
|
+
class: 'public',
|
|
379
|
+
http: 429,
|
|
380
|
+
message: 'You have used up your usage allowance for this resource.'
|
|
381
|
+
}),
|
|
376
382
|
RATE_LIMITED: (0, define_1.defineError)({
|
|
377
383
|
code: 'RATE_LIMITED',
|
|
378
384
|
class: 'public',
|
|
@@ -406,6 +412,12 @@ exports.registry = {
|
|
|
406
412
|
http: 400,
|
|
407
413
|
message: 'The billing operation request is invalid.'
|
|
408
414
|
}),
|
|
415
|
+
BILLING_SUBSCRIPTION_ACTIVE: (0, define_1.defineError)({
|
|
416
|
+
code: 'BILLING_SUBSCRIPTION_ACTIVE',
|
|
417
|
+
class: 'public',
|
|
418
|
+
http: 409,
|
|
419
|
+
message: 'This account still has an active subscription. Cancel the subscription before deleting the account.'
|
|
420
|
+
}),
|
|
409
421
|
UNKNOWN_METER: (0, define_1.defineError)({
|
|
410
422
|
code: 'UNKNOWN_METER',
|
|
411
423
|
class: 'public',
|