python-arango-async 0.0.1__py3-none-any.whl

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.
arangoasync/errno.py ADDED
@@ -0,0 +1,1168 @@
1
+ ##################
2
+ # General errors #
3
+ ##################
4
+
5
+ # no error
6
+ NO_ERROR = 0
7
+
8
+ # failed
9
+ FAILED = 1
10
+
11
+ # system error
12
+ SYS_ERROR = 2
13
+
14
+ # out of memory
15
+ OUT_OF_MEMORY = 3
16
+
17
+ # internal error
18
+ INTERNAL = 4
19
+
20
+ # illegal number
21
+ ILLEGAL_NUMBER = 5
22
+
23
+ # numeric overflow
24
+ NUMERIC_OVERFLOW = 6
25
+
26
+ # illegal option
27
+ ILLEGAL_OPTION = 7
28
+
29
+ # dead process identifier
30
+ DEAD_PID = 8
31
+
32
+ # not implemented
33
+ NOT_IMPLEMENTED = 9
34
+
35
+ # bad parameter
36
+ BAD_PARAMETER = 10
37
+
38
+ # forbidden
39
+ FORBIDDEN = 11
40
+
41
+ # csv is corrupt
42
+ CORRUPTED_CSV = 13
43
+
44
+ # file not found
45
+ FILE_NOT_FOUND = 14
46
+
47
+ # cannot write file
48
+ CANNOT_WRITE_FILE = 15
49
+
50
+ # cannot overwrite file
51
+ CANNOT_OVERWRITE_FILE = 16
52
+
53
+ # type error
54
+ TYPE_ERROR = 17
55
+
56
+ # lock timeout
57
+ LOCK_TIMEOUT = 18
58
+
59
+ # cannot create directory
60
+ CANNOT_CREATE_DIRECTORY = 19
61
+
62
+ # cannot create temporary file
63
+ CANNOT_CREATE_TEMP_FILE = 20
64
+
65
+ # canceled request
66
+ REQUEST_CANCELED = 21
67
+
68
+ # intentional debug error
69
+ DEBUG = 22
70
+
71
+ # IP address is invalid
72
+ IP_ADDRESS_INVALID = 25
73
+
74
+ # file exists
75
+ FILE_EXISTS = 27
76
+
77
+ # locked
78
+ LOCKED = 28
79
+
80
+ # deadlock detected
81
+ DEADLOCK = 29
82
+
83
+ # shutdown in progress
84
+ SHUTTING_DOWN = 30
85
+
86
+ # only enterprise version
87
+ ONLY_ENTERPRISE = 31
88
+
89
+ # resource limit exceeded
90
+ RESOURCE_LIMIT = 32
91
+
92
+ # icu error: %s
93
+ ICU_ERROR = 33
94
+
95
+ # cannot read file
96
+ CANNOT_READ_FILE = 34
97
+
98
+ # incompatible server version
99
+ INCOMPATIBLE_VERSION = 35
100
+
101
+ # disabled
102
+ DISABLED = 36
103
+
104
+ # malformed json
105
+ MALFORMED_JSON = 37
106
+
107
+ # startup ongoing
108
+ STARTING_UP = 38
109
+
110
+ # error during deserialization
111
+ DESERIALIZE = 39
112
+
113
+ # reached end of file
114
+ END_OF_FILE = 40
115
+
116
+ ###########################
117
+ # HTTP error status codes #
118
+ ###########################
119
+
120
+ # bad parameter
121
+ HTTP_BAD_PARAMETER = 400
122
+
123
+ # unauthorized
124
+ HTTP_UNAUTHORIZED = 401
125
+
126
+ # forbidden
127
+ HTTP_FORBIDDEN = 403
128
+
129
+ # not found
130
+ HTTP_NOT_FOUND = 404
131
+
132
+ # method not supported
133
+ HTTP_METHOD_NOT_ALLOWED = 405
134
+
135
+ # request not acceptable
136
+ HTTP_NOT_ACCEPTABLE = 406
137
+
138
+ # request timeout
139
+ HTTP_REQUEST_TIMEOUT = 408
140
+
141
+ # conflict
142
+ HTTP_CONFLICT = 409
143
+
144
+ # content permanently deleted
145
+ HTTP_GONE = 410
146
+
147
+ # precondition failed
148
+ HTTP_PRECONDITION_FAILED = 412
149
+
150
+ # enhance your calm
151
+ HTTP_ENHANCE_YOUR_CALM = 420
152
+
153
+ # internal server error
154
+ HTTP_SERVER_ERROR = 500
155
+
156
+ # not implemented
157
+ HTTP_NOT_IMPLEMENTED = 501
158
+
159
+ # service unavailable
160
+ HTTP_SERVICE_UNAVAILABLE = 503
161
+
162
+ # gateway timeout
163
+ HTTP_GATEWAY_TIMEOUT = 504
164
+
165
+ ##########################
166
+ # HTTP processing errors #
167
+ ##########################
168
+
169
+ # invalid JSON object
170
+ HTTP_CORRUPTED_JSON = 600
171
+
172
+ # superfluous URL suffices
173
+ HTTP_SUPERFLUOUS_SUFFICES = 601
174
+
175
+ ####################################
176
+ # Internal ArangoDB storage errors #
177
+ ####################################
178
+
179
+ # illegal state
180
+ ILLEGAL_STATE = 1000
181
+
182
+ # read only
183
+ READ_ONLY = 1004
184
+
185
+ # duplicate identifier
186
+ DUPLICATE_IDENTIFIER = 1005
187
+
188
+ ####################################
189
+ # External ArangoDB storage errors #
190
+ ####################################
191
+
192
+ # corrupted datafile
193
+ CORRUPTED_DATAFILE = 1100
194
+
195
+ # illegal or unreadable parameter file
196
+ ILLEGAL_PARAMETER_FILE = 1101
197
+
198
+ # corrupted collection
199
+ CORRUPTED_COLLECTION = 1102
200
+
201
+ # filesystem full
202
+ FILESYSTEM_FULL = 1104
203
+
204
+ # database directory is locked
205
+ DATADIR_LOCKED = 1107
206
+
207
+ ###################################
208
+ # General ArangoDB storage errors #
209
+ ###################################
210
+
211
+ # conflict
212
+ CONFLICT = 1200
213
+
214
+ # document not found
215
+ DOCUMENT_NOT_FOUND = 1202
216
+
217
+ # collection or view not found
218
+ DATA_SOURCE_NOT_FOUND = 1203
219
+
220
+ # parameter 'collection' not found
221
+ COLLECTION_PARAMETER_MISSING = 1204
222
+
223
+ # illegal document identifier
224
+ DOCUMENT_HANDLE_BAD = 1205
225
+
226
+ # duplicate name
227
+ DUPLICATE_NAME = 1207
228
+
229
+ # illegal name
230
+ ILLEGAL_NAME = 1208
231
+
232
+ # no suitable index known
233
+ NO_INDEX = 1209
234
+
235
+ # unique constraint violated
236
+ UNIQUE_CONSTRAINT_VIOLATED = 1210
237
+
238
+ # index not found
239
+ INDEX_NOT_FOUND = 1212
240
+
241
+ # cross collection request not allowed
242
+ CROSS_COLLECTION_REQUEST = 1213
243
+
244
+ # illegal index identifier
245
+ INDEX_HANDLE_BAD = 1214
246
+
247
+ # document too large
248
+ DOCUMENT_TOO_LARGE = 1216
249
+
250
+ # collection type invalid
251
+ COLLECTION_TYPE_INVALID = 1218
252
+
253
+ # parsing attribute name definition failed
254
+ ATTRIBUTE_PARSER_FAILED = 1220
255
+
256
+ # illegal document key
257
+ DOCUMENT_KEY_BAD = 1221
258
+
259
+ # unexpected document key
260
+ DOCUMENT_KEY_UNEXPECTED = 1222
261
+
262
+ # server database directory not writable
263
+ DATADIR_NOT_WRITABLE = 1224
264
+
265
+ # out of keys
266
+ OUT_OF_KEYS = 1225
267
+
268
+ # missing document key
269
+ DOCUMENT_KEY_MISSING = 1226
270
+
271
+ # invalid document type
272
+ DOCUMENT_TYPE_INVALID = 1227
273
+
274
+ # database not found
275
+ DATABASE_NOT_FOUND = 1228
276
+
277
+ # database name invalid
278
+ DATABASE_NAME_INVALID = 1229
279
+
280
+ # operation only allowed in system database
281
+ USE_SYSTEM_DATABASE = 1230
282
+
283
+ # invalid key generator
284
+ INVALID_KEY_GENERATOR = 1232
285
+
286
+ # expecting both `_from` and `_to` attributes to be defined in the edge document and have the format `<collectionName>/<vertexKey>`
287
+ INVALID_EDGE_ATTRIBUTE = 1233
288
+
289
+ # index creation failed
290
+ INDEX_CREATION_FAILED = 1235
291
+
292
+ # collection type mismatch
293
+ COLLECTION_TYPE_MISMATCH = 1237
294
+
295
+ # collection not loaded
296
+ COLLECTION_NOT_LOADED = 1238
297
+
298
+ # illegal document revision
299
+ DOCUMENT_REV_BAD = 1239
300
+
301
+ # incomplete read
302
+ INCOMPLETE_READ = 1240
303
+
304
+ # not supported by old legacy data format
305
+ OLD_ROCKSDB_FORMAT = 1241
306
+
307
+ # an index with legacy sorted keys has been found
308
+ INDEX_HAS_LEGACY_SORTED_KEYS = 1242
309
+
310
+ ###################################
311
+ # Checked ArangoDB storage errors #
312
+ ###################################
313
+
314
+ # server database directory is empty
315
+ EMPTY_DATADIR = 1301
316
+
317
+ # operation should be tried again
318
+ TRY_AGAIN = 1302
319
+
320
+ # engine is busy
321
+ BUSY = 1303
322
+
323
+ # merge in progress
324
+ MERGE_IN_PROGRESS = 1304
325
+
326
+ # storage engine I/O error
327
+ IO_ERROR = 1305
328
+
329
+ ###############################
330
+ # ArangoDB replication errors #
331
+ ###############################
332
+
333
+ # no response
334
+ REPLICATION_NO_RESPONSE = 1400
335
+
336
+ # invalid response
337
+ REPLICATION_INVALID_RESPONSE = 1401
338
+
339
+ # leader error
340
+ REPLICATION_LEADER_ERROR = 1402
341
+
342
+ # leader incompatible
343
+ REPLICATION_LEADER_INCOMPATIBLE = 1403
344
+
345
+ # leader change
346
+ REPLICATION_LEADER_CHANGE = 1404
347
+
348
+ # loop detected
349
+ REPLICATION_LOOP = 1405
350
+
351
+ # unexpected marker
352
+ REPLICATION_UNEXPECTED_MARKER = 1406
353
+
354
+ # invalid applier state
355
+ REPLICATION_INVALID_APPLIER_STATE = 1407
356
+
357
+ # invalid transaction
358
+ REPLICATION_UNEXPECTED_TRANSACTION = 1408
359
+
360
+ # shard synchronization attempt timeout exceeded
361
+ REPLICATION_SHARD_SYNC_ATTEMPT_TIMEOUT_EXCEEDED = 1409
362
+
363
+ # invalid replication applier configuration
364
+ REPLICATION_INVALID_APPLIER_CONFIGURATION = 1410
365
+
366
+ # cannot perform operation while applier is running
367
+ REPLICATION_RUNNING = 1411
368
+
369
+ # replication stopped
370
+ REPLICATION_APPLIER_STOPPED = 1412
371
+
372
+ # no start tick
373
+ REPLICATION_NO_START_TICK = 1413
374
+
375
+ # start tick not present
376
+ REPLICATION_START_TICK_NOT_PRESENT = 1414
377
+
378
+ # wrong checksum
379
+ REPLICATION_WRONG_CHECKSUM = 1416
380
+
381
+ # shard not empty
382
+ REPLICATION_SHARD_NONEMPTY = 1417
383
+
384
+ # replicated log {} not found
385
+ REPLICATION_REPLICATED_LOG_NOT_FOUND = 1418
386
+
387
+ # not the log leader
388
+ REPLICATION_REPLICATED_LOG_NOT_THE_LEADER = 1419
389
+
390
+ # not a log follower
391
+ REPLICATION_REPLICATED_LOG_NOT_A_FOLLOWER = 1420
392
+
393
+ # follower rejected append entries request
394
+ REPLICATION_REPLICATED_LOG_APPEND_ENTRIES_REJECTED = 1421
395
+
396
+ # a resigned leader instance rejected a request
397
+ REPLICATION_REPLICATED_LOG_LEADER_RESIGNED = 1422
398
+
399
+ # a resigned follower instance rejected a request
400
+ REPLICATION_REPLICATED_LOG_FOLLOWER_RESIGNED = 1423
401
+
402
+ # the replicated log of the participant is gone
403
+ REPLICATION_REPLICATED_LOG_PARTICIPANT_GONE = 1424
404
+
405
+ # an invalid term was given
406
+ REPLICATION_REPLICATED_LOG_INVALID_TERM = 1425
407
+
408
+ # log participant unconfigured
409
+ REPLICATION_REPLICATED_LOG_UNCONFIGURED = 1426
410
+
411
+ # replicated state {id:} of type {type:} not found
412
+ REPLICATION_REPLICATED_STATE_NOT_FOUND = 1427
413
+
414
+ # replicated state {id:} of type {type:} is unavailable
415
+ REPLICATION_REPLICATED_STATE_NOT_AVAILABLE = 1428
416
+
417
+ # not enough replicas for the configured write-concern are present
418
+ REPLICATION_WRITE_CONCERN_NOT_FULFILLED = 1429
419
+
420
+ # operation aborted because a previous operation failed
421
+ REPLICATION_REPLICATED_LOG_SUBSEQUENT_FAULT = 1430
422
+
423
+ # replicated state type {type:} is unavailable
424
+ REPLICATION_REPLICATED_STATE_IMPLEMENTATION_NOT_FOUND = 1431
425
+
426
+ # error in the replicated WAL subsystem
427
+ REPLICATION_REPLICATED_WAL_ERROR = 1432
428
+
429
+ # replicated WAL {file:} has an invalid or missing file header
430
+ REPLICATION_REPLICATED_WAL_INVALID_FILE = 1433
431
+
432
+ # replicated WAL {file:} is corrupt
433
+ REPLICATION_REPLICATED_WAL_CORRUPT = 1434
434
+
435
+ ###########################
436
+ # ArangoDB cluster errors #
437
+ ###########################
438
+
439
+ # not a follower
440
+ CLUSTER_NOT_FOLLOWER = 1446
441
+
442
+ # follower transaction intermediate commit already performed
443
+ CLUSTER_FOLLOWER_TRANSACTION_COMMIT_PERFORMED = 1447
444
+
445
+ # creating collection failed due to precondition
446
+ CLUSTER_CREATE_COLLECTION_PRECONDITION_FAILED = 1448
447
+
448
+ # got a request from an unknown server
449
+ CLUSTER_SERVER_UNKNOWN = 1449
450
+
451
+ # too many shards
452
+ CLUSTER_TOO_MANY_SHARDS = 1450
453
+
454
+ # could not create collection in plan
455
+ CLUSTER_COULD_NOT_CREATE_COLLECTION_IN_PLAN = 1454
456
+
457
+ # could not create collection
458
+ CLUSTER_COULD_NOT_CREATE_COLLECTION = 1456
459
+
460
+ # timeout in cluster operation
461
+ CLUSTER_TIMEOUT = 1457
462
+
463
+ # could not remove collection from plan
464
+ CLUSTER_COULD_NOT_REMOVE_COLLECTION_IN_PLAN = 1458
465
+
466
+ # could not create database in plan
467
+ CLUSTER_COULD_NOT_CREATE_DATABASE_IN_PLAN = 1460
468
+
469
+ # could not create database
470
+ CLUSTER_COULD_NOT_CREATE_DATABASE = 1461
471
+
472
+ # could not remove database from plan
473
+ CLUSTER_COULD_NOT_REMOVE_DATABASE_IN_PLAN = 1462
474
+
475
+ # could not remove database from current
476
+ CLUSTER_COULD_NOT_REMOVE_DATABASE_IN_CURRENT = 1463
477
+
478
+ # no responsible shard found
479
+ CLUSTER_SHARD_GONE = 1464
480
+
481
+ # cluster internal HTTP connection broken
482
+ CLUSTER_CONNECTION_LOST = 1465
483
+
484
+ # must not specify _key for this collection
485
+ CLUSTER_MUST_NOT_SPECIFY_KEY = 1466
486
+
487
+ # got contradicting answers from different shards
488
+ CLUSTER_GOT_CONTRADICTING_ANSWERS = 1467
489
+
490
+ # not all sharding attributes given
491
+ CLUSTER_NOT_ALL_SHARDING_ATTRIBUTES_GIVEN = 1468
492
+
493
+ # must not change the value of a shard key attribute
494
+ CLUSTER_MUST_NOT_CHANGE_SHARDING_ATTRIBUTES = 1469
495
+
496
+ # unsupported operation or parameter for clusters
497
+ CLUSTER_UNSUPPORTED = 1470
498
+
499
+ # this operation is only valid on a coordinator in a cluster
500
+ CLUSTER_ONLY_ON_COORDINATOR = 1471
501
+
502
+ # error reading Plan in agency
503
+ CLUSTER_READING_PLAN_AGENCY = 1472
504
+
505
+ # error in cluster internal communication for AQL
506
+ CLUSTER_AQL_COMMUNICATION = 1474
507
+
508
+ # this operation is only valid on a DBserver in a cluster
509
+ CLUSTER_ONLY_ON_DBSERVER = 1477
510
+
511
+ # A cluster backend which was required for the operation could not be reached
512
+ CLUSTER_BACKEND_UNAVAILABLE = 1478
513
+
514
+ # collection/view is out of sync
515
+ CLUSTER_AQL_COLLECTION_OUT_OF_SYNC = 1481
516
+
517
+ # could not create index in plan
518
+ CLUSTER_COULD_NOT_CREATE_INDEX_IN_PLAN = 1482
519
+
520
+ # could not drop index in plan
521
+ CLUSTER_COULD_NOT_DROP_INDEX_IN_PLAN = 1483
522
+
523
+ # chain of distributeShardsLike references
524
+ CLUSTER_CHAIN_OF_DISTRIBUTESHARDSLIKE = 1484
525
+
526
+ # must not drop collection while another has a distributeShardsLike attribute pointing to it
527
+ CLUSTER_MUST_NOT_DROP_COLL_OTHER_DISTRIBUTESHARDSLIKE = 1485
528
+
529
+ # must not have a distributeShardsLike attribute pointing to an unknown collection
530
+ CLUSTER_UNKNOWN_DISTRIBUTESHARDSLIKE = 1486
531
+
532
+ # the number of current DB-Servers is lower than the requested replicationFactor/writeConcern
533
+ CLUSTER_INSUFFICIENT_DBSERVERS = 1487
534
+
535
+ # a follower could not be dropped in agency
536
+ CLUSTER_COULD_NOT_DROP_FOLLOWER = 1488
537
+
538
+ # a shard leader refuses to perform a replication operation
539
+ CLUSTER_SHARD_LEADER_REFUSES_REPLICATION = 1489
540
+
541
+ # a shard follower refuses to perform an operation
542
+ CLUSTER_SHARD_FOLLOWER_REFUSES_OPERATION = 1490
543
+
544
+ # a (former) shard leader refuses to perform an operation
545
+ CLUSTER_SHARD_LEADER_RESIGNED = 1491
546
+
547
+ # some agency operation failed
548
+ CLUSTER_AGENCY_COMMUNICATION_FAILED = 1492
549
+
550
+ # leadership challenge is ongoing
551
+ CLUSTER_LEADERSHIP_CHALLENGE_ONGOING = 1495
552
+
553
+ # not a leader
554
+ CLUSTER_NOT_LEADER = 1496
555
+
556
+ # could not create view in plan
557
+ CLUSTER_COULD_NOT_CREATE_VIEW_IN_PLAN = 1497
558
+
559
+ # view ID already exists
560
+ CLUSTER_VIEW_ID_EXISTS = 1498
561
+
562
+ # could not drop collection in plan
563
+ CLUSTER_COULD_NOT_DROP_COLLECTION = 1499
564
+
565
+ #########################
566
+ # ArangoDB query errors #
567
+ #########################
568
+
569
+ # query killed
570
+ QUERY_KILLED = 1500
571
+
572
+ # %s
573
+ QUERY_PARSE = 1501
574
+
575
+ # query is empty
576
+ QUERY_EMPTY = 1502
577
+
578
+ # runtime error '%s'
579
+ QUERY_SCRIPT = 1503
580
+
581
+ # number out of range
582
+ QUERY_NUMBER_OUT_OF_RANGE = 1504
583
+
584
+ # invalid geo coordinate value
585
+ QUERY_INVALID_GEO_VALUE = 1505
586
+
587
+ # variable name '%s' has an invalid format
588
+ QUERY_VARIABLE_NAME_INVALID = 1510
589
+
590
+ # variable '%s' is assigned multiple times
591
+ QUERY_VARIABLE_REDECLARED = 1511
592
+
593
+ # unknown variable '%s'
594
+ QUERY_VARIABLE_NAME_UNKNOWN = 1512
595
+
596
+ # unable to read-lock collection %s
597
+ QUERY_COLLECTION_LOCK_FAILED = 1521
598
+
599
+ # too many collections/shards
600
+ QUERY_TOO_MANY_COLLECTIONS = 1522
601
+
602
+ # too much nesting or too many objects
603
+ QUERY_TOO_MUCH_NESTING = 1524
604
+
605
+ # unknown/invalid OPTIONS attribute used
606
+ QUERY_INVALID_OPTIONS_ATTRIBUTE = 1539
607
+
608
+ # usage of unknown function '%s()'
609
+ QUERY_FUNCTION_NAME_UNKNOWN = 1540
610
+
611
+ # invalid number of arguments for function '%s()'
612
+ QUERY_FUNCTION_ARGUMENT_NUMBER_MISMATCH = 1541
613
+
614
+ # invalid argument type in call to function '%s()'
615
+ QUERY_FUNCTION_ARGUMENT_TYPE_MISMATCH = 1542
616
+
617
+ # invalid regex value
618
+ QUERY_INVALID_REGEX = 1543
619
+
620
+ # invalid structure of bind parameters
621
+ QUERY_BIND_PARAMETERS_INVALID = 1550
622
+
623
+ # no value specified for declared bind parameter '%s'
624
+ QUERY_BIND_PARAMETER_MISSING = 1551
625
+
626
+ # bind parameter '%s' was not declared in the query
627
+ QUERY_BIND_PARAMETER_UNDECLARED = 1552
628
+
629
+ # bind parameter '%s' has an invalid value or type
630
+ QUERY_BIND_PARAMETER_TYPE = 1553
631
+
632
+ # failed vector search
633
+ QUERY_VECTOR_SEARCH_NOT_APPLIED = 1554
634
+
635
+ # invalid arithmetic value
636
+ QUERY_INVALID_ARITHMETIC_VALUE = 1561
637
+
638
+ # division by zero
639
+ QUERY_DIVISION_BY_ZERO = 1562
640
+
641
+ # array expected
642
+ QUERY_ARRAY_EXPECTED = 1563
643
+
644
+ # collection '%s' used as expression operand
645
+ QUERY_COLLECTION_USED_IN_EXPRESSION = 1568
646
+
647
+ # FAIL(%s) called
648
+ QUERY_FAIL_CALLED = 1569
649
+
650
+ # no suitable geo index found for geo restriction on '%s'
651
+ QUERY_GEO_INDEX_MISSING = 1570
652
+
653
+ # no suitable fulltext index found for fulltext query on '%s'
654
+ QUERY_FULLTEXT_INDEX_MISSING = 1571
655
+
656
+ # invalid date value
657
+ QUERY_INVALID_DATE_VALUE = 1572
658
+
659
+ # multi-modify query
660
+ QUERY_MULTI_MODIFY = 1573
661
+
662
+ # invalid aggregate expression
663
+ QUERY_INVALID_AGGREGATE_EXPRESSION = 1574
664
+
665
+ # query options must be readable at query compile time
666
+ QUERY_COMPILE_TIME_OPTIONS = 1575
667
+
668
+ # FILTER/PRUNE condition complexity is too high
669
+ QUERY_DNF_COMPLEXITY = 1576
670
+
671
+ # could not use forced index hint
672
+ QUERY_FORCED_INDEX_HINT_UNUSABLE = 1577
673
+
674
+ # disallowed dynamic call to '%s'
675
+ QUERY_DISALLOWED_DYNAMIC_CALL = 1578
676
+
677
+ # access after data-modification by %s
678
+ QUERY_ACCESS_AFTER_MODIFICATION = 1579
679
+
680
+ ############################
681
+ # AQL user function errors #
682
+ ############################
683
+
684
+ # invalid user function name
685
+ QUERY_FUNCTION_INVALID_NAME = 1580
686
+
687
+ # invalid user function code
688
+ QUERY_FUNCTION_INVALID_CODE = 1581
689
+
690
+ # user function '%s()' not found
691
+ QUERY_FUNCTION_NOT_FOUND = 1582
692
+
693
+ # user function runtime error: %s
694
+ QUERY_FUNCTION_RUNTIME_ERROR = 1583
695
+
696
+ # query is not eligible for plan caching
697
+ QUERY_NOT_ELIGIBLE_FOR_PLAN_CACHING = 1584
698
+
699
+ #############################
700
+ # AQL query registry errors #
701
+ #############################
702
+
703
+ # bad execution plan JSON
704
+ QUERY_BAD_JSON_PLAN = 1590
705
+
706
+ # query ID not found
707
+ QUERY_NOT_FOUND = 1591
708
+
709
+ # %s
710
+ QUERY_USER_ASSERT = 1593
711
+
712
+ # %s
713
+ QUERY_USER_WARN = 1594
714
+
715
+ # window operation after data-modification
716
+ QUERY_WINDOW_AFTER_MODIFICATION = 1595
717
+
718
+ ##########################
719
+ # ArangoDB cursor errors #
720
+ ##########################
721
+
722
+ # cursor not found
723
+ CURSOR_NOT_FOUND = 1600
724
+
725
+ # cursor is busy
726
+ CURSOR_BUSY = 1601
727
+
728
+ #####################################
729
+ # ArangoDB schema validation errors #
730
+ #####################################
731
+
732
+ # schema validation failed
733
+ VALIDATION_FAILED = 1620
734
+
735
+ # invalid schema validation parameter
736
+ VALIDATION_BAD_PARAMETER = 1621
737
+
738
+ ###############################
739
+ # ArangoDB transaction errors #
740
+ ###############################
741
+
742
+ # internal transaction error
743
+ TRANSACTION_INTERNAL = 1650
744
+
745
+ # nested transactions detected
746
+ TRANSACTION_NESTED = 1651
747
+
748
+ # unregistered collection used in transaction
749
+ TRANSACTION_UNREGISTERED_COLLECTION = 1652
750
+
751
+ # disallowed operation inside transaction
752
+ TRANSACTION_DISALLOWED_OPERATION = 1653
753
+
754
+ # transaction aborted
755
+ TRANSACTION_ABORTED = 1654
756
+
757
+ # transaction not found
758
+ TRANSACTION_NOT_FOUND = 1655
759
+
760
+ ##########################
761
+ # User management errors #
762
+ ##########################
763
+
764
+ # invalid user name
765
+ USER_INVALID_NAME = 1700
766
+
767
+ # duplicate user
768
+ USER_DUPLICATE = 1702
769
+
770
+ # user not found
771
+ USER_NOT_FOUND = 1703
772
+
773
+ # user is external
774
+ USER_EXTERNAL = 1705
775
+
776
+ ######################################
777
+ # Service management errors (legacy) #
778
+ ######################################
779
+
780
+ # service download failed
781
+ SERVICE_DOWNLOAD_FAILED = 1752
782
+
783
+ # service upload failed
784
+ SERVICE_UPLOAD_FAILED = 1753
785
+
786
+ ###############
787
+ # Task errors #
788
+ ###############
789
+
790
+ # invalid task id
791
+ TASK_INVALID_ID = 1850
792
+
793
+ # duplicate task id
794
+ TASK_DUPLICATE_ID = 1851
795
+
796
+ # task not found
797
+ TASK_NOT_FOUND = 1852
798
+
799
+ ############################
800
+ # Graph / traversal errors #
801
+ ############################
802
+
803
+ # invalid graph
804
+ GRAPH_INVALID_GRAPH = 1901
805
+
806
+ # invalid edge
807
+ GRAPH_INVALID_EDGE = 1906
808
+
809
+ # invalid filter result
810
+ GRAPH_INVALID_FILTER_RESULT = 1910
811
+
812
+ # multi use of edge collection in edge def
813
+ GRAPH_COLLECTION_MULTI_USE = 1920
814
+
815
+ # edge collection already used in edge def
816
+ GRAPH_COLLECTION_USE_IN_MULTI_GRAPHS = 1921
817
+
818
+ # missing graph name
819
+ GRAPH_CREATE_MISSING_NAME = 1922
820
+
821
+ # malformed edge definition
822
+ GRAPH_CREATE_MALFORMED_EDGE_DEFINITION = 1923
823
+
824
+ # graph '%s' not found
825
+ GRAPH_NOT_FOUND = 1924
826
+
827
+ # graph already exists
828
+ GRAPH_DUPLICATE = 1925
829
+
830
+ # vertex collection does not exist or is not part of the graph
831
+ GRAPH_VERTEX_COL_DOES_NOT_EXIST = 1926
832
+
833
+ # collection not a vertex collection
834
+ GRAPH_WRONG_COLLECTION_TYPE_VERTEX = 1927
835
+
836
+ # collection is not in list of orphan collections
837
+ GRAPH_NOT_IN_ORPHAN_COLLECTION = 1928
838
+
839
+ # collection already used in edge def
840
+ GRAPH_COLLECTION_USED_IN_EDGE_DEF = 1929
841
+
842
+ # edge collection not used in graph
843
+ GRAPH_EDGE_COLLECTION_NOT_USED = 1930
844
+
845
+ # collection _graphs does not exist
846
+ GRAPH_NO_GRAPH_COLLECTION = 1932
847
+
848
+ # Invalid number of arguments. Expected:
849
+ GRAPH_INVALID_NUMBER_OF_ARGUMENTS = 1935
850
+
851
+ # Invalid parameter type.
852
+ GRAPH_INVALID_PARAMETER = 1936
853
+
854
+ # collection used in orphans
855
+ GRAPH_COLLECTION_USED_IN_ORPHANS = 1938
856
+
857
+ # edge collection does not exist or is not part of the graph
858
+ GRAPH_EDGE_COL_DOES_NOT_EXIST = 1939
859
+
860
+ # empty graph
861
+ GRAPH_EMPTY = 1940
862
+
863
+ # internal graph data corrupt
864
+ GRAPH_INTERNAL_DATA_CORRUPT = 1941
865
+
866
+ # must not drop collection while part of graph
867
+ GRAPH_MUST_NOT_DROP_COLLECTION = 1942
868
+
869
+ # malformed orphan list
870
+ GRAPH_CREATE_MALFORMED_ORPHAN_LIST = 1943
871
+
872
+ # edge definition collection is a document collection
873
+ GRAPH_EDGE_DEFINITION_IS_DOCUMENT = 1944
874
+
875
+ # initial collection is not allowed to be removed manually
876
+ GRAPH_COLLECTION_IS_INITIAL = 1945
877
+
878
+ # no valid initial collection found
879
+ GRAPH_NO_INITIAL_COLLECTION = 1946
880
+
881
+ # referenced vertex collection is not part of the graph
882
+ GRAPH_REFERENCED_VERTEX_COLLECTION_NOT_PART_OF_THE_GRAPH = 1947
883
+
884
+ # negative edge weight found
885
+ GRAPH_NEGATIVE_EDGE_WEIGHT = 1948
886
+
887
+ # the given collection is not part of the graph
888
+ GRAPH_COLLECTION_NOT_PART_OF_THE_GRAPH = 1949
889
+
890
+ ##################
891
+ # Session errors #
892
+ ##################
893
+
894
+ # unknown session
895
+ SESSION_UNKNOWN = 1950
896
+
897
+ # session expired
898
+ SESSION_EXPIRED = 1951
899
+
900
+ ########################
901
+ # Simple Client errors #
902
+ ########################
903
+
904
+ # unknown client error
905
+ SIMPLE_CLIENT_UNKNOWN_ERROR = 2000
906
+
907
+ # could not connect to server
908
+ SIMPLE_CLIENT_COULD_NOT_CONNECT = 2001
909
+
910
+ # could not write to server
911
+ SIMPLE_CLIENT_COULD_NOT_WRITE = 2002
912
+
913
+ # could not read from server
914
+ SIMPLE_CLIENT_COULD_NOT_READ = 2003
915
+
916
+ # was erlaube?!
917
+ WAS_ERLAUBE = 2019
918
+
919
+ #######################
920
+ # internal AQL errors #
921
+ #######################
922
+
923
+ # General internal AQL error
924
+ INTERNAL_AQL = 2200
925
+
926
+ ##########################
927
+ # Foxx management errors #
928
+ ##########################
929
+
930
+ # failed to parse manifest file
931
+ MALFORMED_MANIFEST_FILE = 3000
932
+
933
+ # manifest file is invalid
934
+ INVALID_SERVICE_MANIFEST = 3001
935
+
936
+ # service files missing
937
+ SERVICE_FILES_MISSING = 3002
938
+
939
+ # service files outdated
940
+ SERVICE_FILES_OUTDATED = 3003
941
+
942
+ # service options are invalid
943
+ INVALID_FOXX_OPTIONS = 3004
944
+
945
+ # invalid mountpath
946
+ INVALID_MOUNTPOINT = 3007
947
+
948
+ # service not found
949
+ SERVICE_NOT_FOUND = 3009
950
+
951
+ # service needs configuration
952
+ SERVICE_NEEDS_CONFIGURATION = 3010
953
+
954
+ # service already exists
955
+ SERVICE_MOUNTPOINT_CONFLICT = 3011
956
+
957
+ # missing manifest file
958
+ SERVICE_MANIFEST_NOT_FOUND = 3012
959
+
960
+ # failed to parse service options
961
+ SERVICE_OPTIONS_MALFORMED = 3013
962
+
963
+ # source path not found
964
+ SERVICE_SOURCE_NOT_FOUND = 3014
965
+
966
+ # error resolving source
967
+ SERVICE_SOURCE_ERROR = 3015
968
+
969
+ # unknown script
970
+ SERVICE_UNKNOWN_SCRIPT = 3016
971
+
972
+ # service api disabled
973
+ SERVICE_API_DISABLED = 3099
974
+
975
+ ###################################
976
+ # JavaScript module loader errors #
977
+ ###################################
978
+
979
+ # cannot locate module
980
+ MODULE_NOT_FOUND = 3100
981
+
982
+ # syntax error in module
983
+ MODULE_SYNTAX_ERROR = 3101
984
+
985
+ # failed to invoke module
986
+ MODULE_FAILURE = 3103
987
+
988
+ #############################
989
+ # Enterprise Edition errors #
990
+ #############################
991
+
992
+ # collection is not smart
993
+ NO_SMART_COLLECTION = 4000
994
+
995
+ # smart graph attribute not given
996
+ NO_SMART_GRAPH_ATTRIBUTE = 4001
997
+
998
+ # cannot drop this smart collection
999
+ CANNOT_DROP_SMART_COLLECTION = 4002
1000
+
1001
+ # in smart vertex collections _key must be a string and prefixed with the value of the smart graph attribute
1002
+ KEY_MUST_BE_PREFIXED_WITH_SMART_GRAPH_ATTRIBUTE = 4003
1003
+
1004
+ # attribute cannot be used as smart graph attribute
1005
+ ILLEGAL_SMART_GRAPH_ATTRIBUTE = 4004
1006
+
1007
+ # smart graph attribute mismatch
1008
+ SMART_GRAPH_ATTRIBUTE_MISMATCH = 4005
1009
+
1010
+ # invalid smart join attribute declaration
1011
+ INVALID_SMART_JOIN_ATTRIBUTE = 4006
1012
+
1013
+ # shard key value must be prefixed with the value of the smart join attribute
1014
+ KEY_MUST_BE_PREFIXED_WITH_SMART_JOIN_ATTRIBUTE = 4007
1015
+
1016
+ # smart join attribute not given or invalid
1017
+ NO_SMART_JOIN_ATTRIBUTE = 4008
1018
+
1019
+ # must not change the value of the smartJoinAttribute
1020
+ CLUSTER_MUST_NOT_CHANGE_SMART_JOIN_ATTRIBUTE = 4009
1021
+
1022
+ # non disjoint edge found
1023
+ INVALID_DISJOINT_SMART_EDGE = 4010
1024
+
1025
+ # Unsupported alternating Smart and Satellite in Disjoint SmartGraph.
1026
+ UNSUPPORTED_CHANGE_IN_SMART_TO_SATELLITE_DISJOINT_EDGE_DIRECTION = 4011
1027
+
1028
+ #################
1029
+ # Agency errors #
1030
+ #################
1031
+
1032
+ # malformed gossip message
1033
+ AGENCY_MALFORMED_GOSSIP_MESSAGE = 20001
1034
+
1035
+ # malformed inquire request
1036
+ AGENCY_MALFORMED_INQUIRE_REQUEST = 20002
1037
+
1038
+ # Inform message must be an object.
1039
+ AGENCY_INFORM_MUST_BE_OBJECT = 20011
1040
+
1041
+ # Inform message must contain uint parameter 'term'
1042
+ AGENCY_INFORM_MUST_CONTAIN_TERM = 20012
1043
+
1044
+ # Inform message must contain string parameter 'id'
1045
+ AGENCY_INFORM_MUST_CONTAIN_ID = 20013
1046
+
1047
+ # Inform message must contain array 'active'
1048
+ AGENCY_INFORM_MUST_CONTAIN_ACTIVE = 20014
1049
+
1050
+ # Inform message must contain object 'pool'
1051
+ AGENCY_INFORM_MUST_CONTAIN_POOL = 20015
1052
+
1053
+ # Inform message must contain object 'min ping'
1054
+ AGENCY_INFORM_MUST_CONTAIN_MIN_PING = 20016
1055
+
1056
+ # Inform message must contain object 'max ping'
1057
+ AGENCY_INFORM_MUST_CONTAIN_MAX_PING = 20017
1058
+
1059
+ # Inform message must contain object 'timeoutMult'
1060
+ AGENCY_INFORM_MUST_CONTAIN_TIMEOUT_MULT = 20018
1061
+
1062
+ # Cannot rebuild readDB and spearHead
1063
+ AGENCY_CANNOT_REBUILD_DBS = 20021
1064
+
1065
+ # malformed agency transaction
1066
+ AGENCY_MALFORMED_TRANSACTION = 20030
1067
+
1068
+ ######################
1069
+ # Supervision errors #
1070
+ ######################
1071
+
1072
+ # general supervision failure
1073
+ SUPERVISION_GENERAL_FAILURE = 20501
1074
+
1075
+ ####################
1076
+ # Scheduler errors #
1077
+ ####################
1078
+
1079
+ # queue is full
1080
+ QUEUE_FULL = 21003
1081
+
1082
+ # queue time violated
1083
+ QUEUE_TIME_REQUIREMENT_VIOLATED = 21004
1084
+
1085
+ # too many detached scheduler threads
1086
+ TOO_MANY_DETACHED_THREADS = 21005
1087
+
1088
+ ######################
1089
+ # Maintenance errors #
1090
+ ######################
1091
+
1092
+ # maintenance action still processing
1093
+ ACTION_UNFINISHED = 6003
1094
+
1095
+ #########################
1096
+ # Backup/Restore errors #
1097
+ #########################
1098
+
1099
+ # internal hot backup error
1100
+ HOT_BACKUP_INTERNAL = 7001
1101
+
1102
+ # internal hot restore error
1103
+ HOT_RESTORE_INTERNAL = 7002
1104
+
1105
+ # backup does not match this topology
1106
+ BACKUP_TOPOLOGY = 7003
1107
+
1108
+ # no space left on device
1109
+ NO_SPACE_LEFT_ON_DEVICE = 7004
1110
+
1111
+ # failed to upload hot backup set to remote target
1112
+ FAILED_TO_UPLOAD_BACKUP = 7005
1113
+
1114
+ # failed to download hot backup set from remote source
1115
+ FAILED_TO_DOWNLOAD_BACKUP = 7006
1116
+
1117
+ # no such hot backup set can be found
1118
+ NO_SUCH_HOT_BACKUP = 7007
1119
+
1120
+ # remote hotback repository configuration error
1121
+ REMOTE_REPOSITORY_CONFIG_BAD = 7008
1122
+
1123
+ # some db servers cannot be reached for transaction locks
1124
+ LOCAL_LOCK_FAILED = 7009
1125
+
1126
+ # some db servers cannot be reached for transaction locks
1127
+ LOCAL_LOCK_RETRY = 7010
1128
+
1129
+ # hot backup conflict
1130
+ HOT_BACKUP_CONFLICT = 7011
1131
+
1132
+ # hot backup not all db servers reachable
1133
+ HOT_BACKUP_DBSERVERS_AWOL = 7012
1134
+
1135
+ #########################
1136
+ # Plan Analyzers errors #
1137
+ #########################
1138
+
1139
+ # analyzers in plan could not be modified
1140
+ CLUSTER_COULD_NOT_MODIFY_ANALYZERS_IN_PLAN = 7021
1141
+
1142
+ #############
1143
+ # Licensing #
1144
+ #############
1145
+
1146
+ # license has expired or is invalid
1147
+ LICENSE_EXPIRED_OR_INVALID = 9001
1148
+
1149
+ # license verification failed
1150
+ LICENSE_SIGNATURE_VERIFICATION = 9002
1151
+
1152
+ # non-matching license id
1153
+ LICENSE_NON_MATCHING_ID = 9003
1154
+
1155
+ # feature is not enabled by the license
1156
+ LICENSE_FEATURE_NOT_ENABLED = 9004
1157
+
1158
+ # the resource is exhausted
1159
+ LICENSE_RESOURCE_EXHAUSTED = 9005
1160
+
1161
+ # invalid license
1162
+ LICENSE_INVALID = 9006
1163
+
1164
+ # conflicting license
1165
+ LICENSE_CONFLICT = 9007
1166
+
1167
+ # failed to validate license signature
1168
+ LICENSE_VALIDATION_FAILED = 9008