-
Notifications
You must be signed in to change notification settings - Fork 0
/
augment-api-errors.ts
1578 lines (1574 loc) · 45.7 KB
/
augment-api-errors.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
//@ts-nocheck
// Auto-generated via `yarn polkadot-types-from-chain`, do not edit
/* eslint-disable */
// import type lookup before we augment - in some environments
// this is required to allow for ambient/previous definitions
import '@polkadot/api-base/types/errors';
import type { ApiTypes, AugmentedError } from '@polkadot/api-base/types';
export type __AugmentedError<ApiType extends ApiTypes> = AugmentedError<ApiType>;
declare module '@polkadot/api-base/types/errors' {
interface AugmentedErrors<ApiType extends ApiTypes> {
appPromotion: {
/**
* Error due to action requiring admin to be set.
**/
AdminNotSet: AugmentedError<ApiType>;
/**
* Errors caused by incorrect state of a staker in context of the pallet.
**/
InconsistencyState: AugmentedError<ApiType>;
/**
* Errors caused by insufficient staked balance.
**/
InsufficientStakedBalance: AugmentedError<ApiType>;
/**
* No permission to perform an action.
**/
NoPermission: AugmentedError<ApiType>;
/**
* Insufficient funds to perform an action.
**/
NotSufficientFunds: AugmentedError<ApiType>;
/**
* Occurs when a pending unstake cannot be added in this block. PENDING_LIMIT_PER_BLOCK` limits exceeded.
**/
PendingForBlockOverflow: AugmentedError<ApiType>;
/**
* The error is due to the fact that the collection/contract must already be sponsored in order to perform the action.
**/
SponsorNotSet: AugmentedError<ApiType>;
/**
* Generic error
**/
[key: string]: AugmentedError<ApiType>;
};
balances: {
/**
* Beneficiary account must pre-exist.
**/
DeadAccount: AugmentedError<ApiType>;
/**
* The delta cannot be zero.
**/
DeltaZero: AugmentedError<ApiType>;
/**
* Value too low to create account due to existential deposit.
**/
ExistentialDeposit: AugmentedError<ApiType>;
/**
* A vesting schedule already exists for this account.
**/
ExistingVestingSchedule: AugmentedError<ApiType>;
/**
* Transfer/payment would kill account.
**/
Expendability: AugmentedError<ApiType>;
/**
* Balance too low to send value.
**/
InsufficientBalance: AugmentedError<ApiType>;
/**
* The issuance cannot be modified since it is already deactivated.
**/
IssuanceDeactivated: AugmentedError<ApiType>;
/**
* Account liquidity restrictions prevent withdrawal.
**/
LiquidityRestrictions: AugmentedError<ApiType>;
/**
* Number of freezes exceed `MaxFreezes`.
**/
TooManyFreezes: AugmentedError<ApiType>;
/**
* Number of holds exceed `VariantCountOf<T::RuntimeHoldReason>`.
**/
TooManyHolds: AugmentedError<ApiType>;
/**
* Number of named reserves exceed `MaxReserves`.
**/
TooManyReserves: AugmentedError<ApiType>;
/**
* Vesting balance too high to send value.
**/
VestingBalance: AugmentedError<ApiType>;
/**
* Generic error
**/
[key: string]: AugmentedError<ApiType>;
};
common: {
/**
* Account token limit exceeded per collection
**/
AccountTokenLimitExceeded: AugmentedError<ApiType>;
/**
* Only spending from eth mirror could be approved
**/
AddressIsNotEthMirror: AugmentedError<ApiType>;
/**
* Can't transfer tokens to ethereum zero address
**/
AddressIsZero: AugmentedError<ApiType>;
/**
* Address is not in allow list.
**/
AddressNotInAllowlist: AugmentedError<ApiType>;
/**
* Requested value is more than the approved
**/
ApprovedValueTooLow: AugmentedError<ApiType>;
/**
* Tried to approve more than owned
**/
CantApproveMoreThanOwned: AugmentedError<ApiType>;
/**
* Destroying only empty collections is allowed
**/
CantDestroyNotEmptyCollection: AugmentedError<ApiType>;
/**
* Exceeded max admin count
**/
CollectionAdminCountExceeded: AugmentedError<ApiType>;
/**
* Collection description can not be longer than 255 char.
**/
CollectionDescriptionLimitExceeded: AugmentedError<ApiType>;
/**
* Tried to store more data than allowed in collection field
**/
CollectionFieldSizeExceeded: AugmentedError<ApiType>;
/**
* Tried to access an external collection with an internal API
**/
CollectionIsExternal: AugmentedError<ApiType>;
/**
* Tried to access an internal collection with an external API
**/
CollectionIsInternal: AugmentedError<ApiType>;
/**
* Collection limit bounds per collection exceeded
**/
CollectionLimitBoundsExceeded: AugmentedError<ApiType>;
/**
* Collection name can not be longer than 63 char.
**/
CollectionNameLimitExceeded: AugmentedError<ApiType>;
/**
* This collection does not exist.
**/
CollectionNotFound: AugmentedError<ApiType>;
/**
* Collection token limit exceeded
**/
CollectionTokenLimitExceeded: AugmentedError<ApiType>;
/**
* Token prefix can not be longer than 15 char.
**/
CollectionTokenPrefixLimitExceeded: AugmentedError<ApiType>;
/**
* This address is not set as sponsor, use setCollectionSponsor first.
**/
ConfirmSponsorshipFail: AugmentedError<ApiType>;
/**
* Empty property keys are forbidden
**/
EmptyPropertyKey: AugmentedError<ApiType>;
/**
* Fungible tokens hold no ID, and the default value of TokenId for a fungible collection is 0.
**/
FungibleItemsHaveNoId: AugmentedError<ApiType>;
/**
* Only ASCII letters, digits, and symbols `_`, `-`, and `.` are allowed
**/
InvalidCharacterInPropertyKey: AugmentedError<ApiType>;
/**
* Metadata flag frozen
**/
MetadataFlagFrozen: AugmentedError<ApiType>;
/**
* Sender parameter and item owner must be equal.
**/
MustBeTokenOwner: AugmentedError<ApiType>;
/**
* No permission to perform action
**/
NoPermission: AugmentedError<ApiType>;
/**
* Tried to store more property data than allowed
**/
NoSpaceForProperty: AugmentedError<ApiType>;
/**
* Not Fungible item data used to mint in Fungible collection.
**/
NotFungibleDataUsedToMintFungibleCollectionToken: AugmentedError<ApiType>;
/**
* Insufficient funds to perform an action
**/
NotSufficientFounds: AugmentedError<ApiType>;
/**
* Tried to enable permissions which are only permitted to be disabled
**/
OwnerPermissionsCantBeReverted: AugmentedError<ApiType>;
/**
* Property key is too long
**/
PropertyKeyIsTooLong: AugmentedError<ApiType>;
/**
* Tried to store more property keys than allowed
**/
PropertyLimitReached: AugmentedError<ApiType>;
/**
* Collection is not in mint mode.
**/
PublicMintingNotAllowed: AugmentedError<ApiType>;
/**
* Only tokens from specific collections may nest tokens under this one
**/
SourceCollectionIsNotAllowedToNest: AugmentedError<ApiType>;
/**
* Item does not exist
**/
TokenNotFound: AugmentedError<ApiType>;
/**
* Item is balance not enough
**/
TokenValueTooLow: AugmentedError<ApiType>;
/**
* Total collections bound exceeded.
**/
TotalCollectionsLimitExceeded: AugmentedError<ApiType>;
/**
* Collection settings not allowing items transferring
**/
TransferNotAllowed: AugmentedError<ApiType>;
/**
* The operation is not supported
**/
UnsupportedOperation: AugmentedError<ApiType>;
/**
* User does not satisfy the nesting rule
**/
UserIsNotAllowedToNest: AugmentedError<ApiType>;
/**
* The user is not an administrator.
**/
UserIsNotCollectionAdmin: AugmentedError<ApiType>;
/**
* Generic error
**/
[key: string]: AugmentedError<ApiType>;
};
configuration: {
InconsistentConfiguration: AugmentedError<ApiType>;
/**
* Generic error
**/
[key: string]: AugmentedError<ApiType>;
};
council: {
/**
* Members are already initialized!
**/
AlreadyInitialized: AugmentedError<ApiType>;
/**
* Duplicate proposals not allowed
**/
DuplicateProposal: AugmentedError<ApiType>;
/**
* Duplicate vote ignored
**/
DuplicateVote: AugmentedError<ApiType>;
/**
* Account is not a member
**/
NotMember: AugmentedError<ApiType>;
/**
* Prime account is not a member
**/
PrimeAccountNotMember: AugmentedError<ApiType>;
/**
* Proposal must exist
**/
ProposalMissing: AugmentedError<ApiType>;
/**
* The close call was made too early, before the end of the voting.
**/
TooEarly: AugmentedError<ApiType>;
/**
* There can only be a maximum of `MaxProposals` active proposals.
**/
TooManyProposals: AugmentedError<ApiType>;
/**
* Mismatched index
**/
WrongIndex: AugmentedError<ApiType>;
/**
* The given length bound for the proposal was too low.
**/
WrongProposalLength: AugmentedError<ApiType>;
/**
* The given weight bound for the proposal was too low.
**/
WrongProposalWeight: AugmentedError<ApiType>;
/**
* Generic error
**/
[key: string]: AugmentedError<ApiType>;
};
councilMembership: {
/**
* Already a member.
**/
AlreadyMember: AugmentedError<ApiType>;
/**
* Not a member.
**/
NotMember: AugmentedError<ApiType>;
/**
* Too many members.
**/
TooManyMembers: AugmentedError<ApiType>;
/**
* Generic error
**/
[key: string]: AugmentedError<ApiType>;
};
democracy: {
/**
* Cannot cancel the same proposal twice
**/
AlreadyCanceled: AugmentedError<ApiType>;
/**
* The account is already delegating.
**/
AlreadyDelegating: AugmentedError<ApiType>;
/**
* Identity may not veto a proposal twice
**/
AlreadyVetoed: AugmentedError<ApiType>;
/**
* Proposal already made
**/
DuplicateProposal: AugmentedError<ApiType>;
/**
* The instant referendum origin is currently disallowed.
**/
InstantNotAllowed: AugmentedError<ApiType>;
/**
* Too high a balance was provided that the account cannot afford.
**/
InsufficientFunds: AugmentedError<ApiType>;
/**
* Invalid hash
**/
InvalidHash: AugmentedError<ApiType>;
/**
* Maximum number of votes reached.
**/
MaxVotesReached: AugmentedError<ApiType>;
/**
* No proposals waiting
**/
NoneWaiting: AugmentedError<ApiType>;
/**
* Delegation to oneself makes no sense.
**/
Nonsense: AugmentedError<ApiType>;
/**
* The actor has no permission to conduct the action.
**/
NoPermission: AugmentedError<ApiType>;
/**
* No external proposal
**/
NoProposal: AugmentedError<ApiType>;
/**
* The account is not currently delegating.
**/
NotDelegating: AugmentedError<ApiType>;
/**
* Next external proposal not simple majority
**/
NotSimpleMajority: AugmentedError<ApiType>;
/**
* The given account did not vote on the referendum.
**/
NotVoter: AugmentedError<ApiType>;
/**
* The preimage does not exist.
**/
PreimageNotExist: AugmentedError<ApiType>;
/**
* Proposal still blacklisted
**/
ProposalBlacklisted: AugmentedError<ApiType>;
/**
* Proposal does not exist
**/
ProposalMissing: AugmentedError<ApiType>;
/**
* Vote given for invalid referendum
**/
ReferendumInvalid: AugmentedError<ApiType>;
/**
* Maximum number of items reached.
**/
TooMany: AugmentedError<ApiType>;
/**
* Value too low
**/
ValueLow: AugmentedError<ApiType>;
/**
* The account currently has votes attached to it and the operation cannot succeed until
* these are removed, either through `unvote` or `reap_vote`.
**/
VotesExist: AugmentedError<ApiType>;
/**
* Voting period too low
**/
VotingPeriodLow: AugmentedError<ApiType>;
/**
* Invalid upper bound.
**/
WrongUpperBound: AugmentedError<ApiType>;
/**
* Generic error
**/
[key: string]: AugmentedError<ApiType>;
};
ethereum: {
/**
* Signature is invalid.
**/
InvalidSignature: AugmentedError<ApiType>;
/**
* Pre-log is present, therefore transact is not allowed.
**/
PreLogExists: AugmentedError<ApiType>;
/**
* Generic error
**/
[key: string]: AugmentedError<ApiType>;
};
evm: {
/**
* Not enough balance to perform action
**/
BalanceLow: AugmentedError<ApiType>;
/**
* Calculating total fee overflowed
**/
FeeOverflow: AugmentedError<ApiType>;
/**
* Gas limit is too high.
**/
GasLimitTooHigh: AugmentedError<ApiType>;
/**
* Gas limit is too low.
**/
GasLimitTooLow: AugmentedError<ApiType>;
/**
* Gas price is too low.
**/
GasPriceTooLow: AugmentedError<ApiType>;
/**
* The chain id is invalid.
**/
InvalidChainId: AugmentedError<ApiType>;
/**
* Nonce is invalid
**/
InvalidNonce: AugmentedError<ApiType>;
/**
* the signature is invalid.
**/
InvalidSignature: AugmentedError<ApiType>;
/**
* Calculating total payment overflowed
**/
PaymentOverflow: AugmentedError<ApiType>;
/**
* EVM reentrancy
**/
Reentrancy: AugmentedError<ApiType>;
/**
* EIP-3607,
**/
TransactionMustComeFromEOA: AugmentedError<ApiType>;
/**
* Undefined error.
**/
Undefined: AugmentedError<ApiType>;
/**
* Withdraw fee failed
**/
WithdrawFailed: AugmentedError<ApiType>;
/**
* Generic error
**/
[key: string]: AugmentedError<ApiType>;
};
evmCoderSubstrate: {
OutOfFund: AugmentedError<ApiType>;
OutOfGas: AugmentedError<ApiType>;
/**
* Generic error
**/
[key: string]: AugmentedError<ApiType>;
};
evmContractHelpers: {
/**
* No pending sponsor for contract.
**/
NoPendingSponsor: AugmentedError<ApiType>;
/**
* This method is only executable by contract owner
**/
NoPermission: AugmentedError<ApiType>;
/**
* Number of methods that sponsored limit is defined for exceeds maximum.
**/
TooManyMethodsHaveSponsoredLimit: AugmentedError<ApiType>;
/**
* Generic error
**/
[key: string]: AugmentedError<ApiType>;
};
evmMigration: {
/**
* Migration of this account is not yet started, or already finished.
**/
AccountIsNotMigrating: AugmentedError<ApiType>;
/**
* Can only migrate to empty address.
**/
AccountNotEmpty: AugmentedError<ApiType>;
/**
* Failed to decode event bytes
**/
BadEvent: AugmentedError<ApiType>;
/**
* Generic error
**/
[key: string]: AugmentedError<ApiType>;
};
fellowshipCollective: {
/**
* Account is already a member.
**/
AlreadyMember: AugmentedError<ApiType>;
/**
* Unexpected error in state.
**/
Corruption: AugmentedError<ApiType>;
/**
* The information provided is incorrect.
**/
InvalidWitness: AugmentedError<ApiType>;
/**
* There are no further records to be removed.
**/
NoneRemaining: AugmentedError<ApiType>;
/**
* The origin is not sufficiently privileged to do the operation.
**/
NoPermission: AugmentedError<ApiType>;
/**
* Account is not a member.
**/
NotMember: AugmentedError<ApiType>;
/**
* The given poll index is unknown or has closed.
**/
NotPolling: AugmentedError<ApiType>;
/**
* The given poll is still ongoing.
**/
Ongoing: AugmentedError<ApiType>;
/**
* The member's rank is too low to vote.
**/
RankTooLow: AugmentedError<ApiType>;
/**
* The new member to exchange is the same as the old member
**/
SameMember: AugmentedError<ApiType>;
/**
* The max member count for the rank has been reached.
**/
TooManyMembers: AugmentedError<ApiType>;
/**
* Generic error
**/
[key: string]: AugmentedError<ApiType>;
};
fellowshipReferenda: {
/**
* The referendum index provided is invalid in this context.
**/
BadReferendum: AugmentedError<ApiType>;
/**
* The referendum status is invalid for this operation.
**/
BadStatus: AugmentedError<ApiType>;
/**
* The track identifier given was invalid.
**/
BadTrack: AugmentedError<ApiType>;
/**
* There are already a full complement of referenda in progress for this track.
**/
Full: AugmentedError<ApiType>;
/**
* Referendum's decision deposit is already paid.
**/
HasDeposit: AugmentedError<ApiType>;
/**
* The deposit cannot be refunded since none was made.
**/
NoDeposit: AugmentedError<ApiType>;
/**
* The deposit refunder is not the depositor.
**/
NoPermission: AugmentedError<ApiType>;
/**
* There was nothing to do in the advancement.
**/
NothingToDo: AugmentedError<ApiType>;
/**
* Referendum is not ongoing.
**/
NotOngoing: AugmentedError<ApiType>;
/**
* No track exists for the proposal origin.
**/
NoTrack: AugmentedError<ApiType>;
/**
* The preimage does not exist.
**/
PreimageNotExist: AugmentedError<ApiType>;
/**
* The preimage is stored with a different length than the one provided.
**/
PreimageStoredWithDifferentLength: AugmentedError<ApiType>;
/**
* The queue of the track is empty.
**/
QueueEmpty: AugmentedError<ApiType>;
/**
* Any deposit cannot be refunded until after the decision is over.
**/
Unfinished: AugmentedError<ApiType>;
/**
* Generic error
**/
[key: string]: AugmentedError<ApiType>;
};
financialCouncil: {
/**
* Members are already initialized!
**/
AlreadyInitialized: AugmentedError<ApiType>;
/**
* Duplicate proposals not allowed
**/
DuplicateProposal: AugmentedError<ApiType>;
/**
* Duplicate vote ignored
**/
DuplicateVote: AugmentedError<ApiType>;
/**
* Account is not a member
**/
NotMember: AugmentedError<ApiType>;
/**
* Prime account is not a member
**/
PrimeAccountNotMember: AugmentedError<ApiType>;
/**
* Proposal must exist
**/
ProposalMissing: AugmentedError<ApiType>;
/**
* The close call was made too early, before the end of the voting.
**/
TooEarly: AugmentedError<ApiType>;
/**
* There can only be a maximum of `MaxProposals` active proposals.
**/
TooManyProposals: AugmentedError<ApiType>;
/**
* Mismatched index
**/
WrongIndex: AugmentedError<ApiType>;
/**
* The given length bound for the proposal was too low.
**/
WrongProposalLength: AugmentedError<ApiType>;
/**
* The given weight bound for the proposal was too low.
**/
WrongProposalWeight: AugmentedError<ApiType>;
/**
* Generic error
**/
[key: string]: AugmentedError<ApiType>;
};
financialCouncilMembership: {
/**
* Already a member.
**/
AlreadyMember: AugmentedError<ApiType>;
/**
* Not a member.
**/
NotMember: AugmentedError<ApiType>;
/**
* Too many members.
**/
TooManyMembers: AugmentedError<ApiType>;
/**
* Generic error
**/
[key: string]: AugmentedError<ApiType>;
};
foreignAssets: {
/**
* The given asset ID could not be converted into the current XCM version.
**/
BadForeignAssetId: AugmentedError<ApiType>;
/**
* The foreign asset is already registered.
**/
ForeignAssetAlreadyRegistered: AugmentedError<ApiType>;
/**
* Generic error
**/
[key: string]: AugmentedError<ApiType>;
};
fungible: {
/**
* Fungible token does not support nesting.
**/
FungibleDisallowsNesting: AugmentedError<ApiType>;
/**
* Tried to set data for fungible item.
**/
FungibleItemsDontHaveData: AugmentedError<ApiType>;
/**
* Only a fungible collection could be possibly broken; any fungible token is valid.
**/
FungibleTokensAreAlwaysValid: AugmentedError<ApiType>;
/**
* Setting allowance for all is not allowed.
**/
SettingAllowanceForAllNotAllowed: AugmentedError<ApiType>;
/**
* Setting item properties is not allowed.
**/
SettingPropertiesNotAllowed: AugmentedError<ApiType>;
/**
* Generic error
**/
[key: string]: AugmentedError<ApiType>;
};
identity: {
/**
* Account ID is already named.
**/
AlreadyClaimed: AugmentedError<ApiType>;
/**
* Empty index.
**/
EmptyIndex: AugmentedError<ApiType>;
/**
* Fee is changed.
**/
FeeChanged: AugmentedError<ApiType>;
/**
* The index is invalid.
**/
InvalidIndex: AugmentedError<ApiType>;
/**
* Invalid judgement.
**/
InvalidJudgement: AugmentedError<ApiType>;
/**
* The target is invalid.
**/
InvalidTarget: AugmentedError<ApiType>;
/**
* The provided judgement was for a different identity.
**/
JudgementForDifferentIdentity: AugmentedError<ApiType>;
/**
* Judgement given.
**/
JudgementGiven: AugmentedError<ApiType>;
/**
* Error that occurs when there is an issue paying for judgement.
**/
JudgementPaymentFailed: AugmentedError<ApiType>;
/**
* No identity found.
**/
NoIdentity: AugmentedError<ApiType>;
/**
* Account isn't found.
**/
NotFound: AugmentedError<ApiType>;
/**
* Account isn't named.
**/
NotNamed: AugmentedError<ApiType>;
/**
* Sub-account isn't owned by sender.
**/
NotOwned: AugmentedError<ApiType>;
/**
* Sender is not a sub-account.
**/
NotSub: AugmentedError<ApiType>;
/**
* Sticky judgement.
**/
StickyJudgement: AugmentedError<ApiType>;
/**
* Too many additional fields.
**/
TooManyFields: AugmentedError<ApiType>;
/**
* Maximum amount of registrars reached. Cannot add any more.
**/
TooManyRegistrars: AugmentedError<ApiType>;
/**
* Too many subs-accounts.
**/
TooManySubAccounts: AugmentedError<ApiType>;
/**
* Generic error
**/
[key: string]: AugmentedError<ApiType>;
};
maintenance: {
/**
* Generic error
**/
[key: string]: AugmentedError<ApiType>;
};
messageQueue: {
/**
* The message was already processed and cannot be processed again.
**/
AlreadyProcessed: AugmentedError<ApiType>;
/**
* There is temporarily not enough weight to continue servicing messages.
**/
InsufficientWeight: AugmentedError<ApiType>;
/**
* The referenced message could not be found.
**/
NoMessage: AugmentedError<ApiType>;
/**
* Page to be reaped does not exist.
**/
NoPage: AugmentedError<ApiType>;
/**
* Page is not reapable because it has items remaining to be processed and is not old
* enough.
**/
NotReapable: AugmentedError<ApiType>;
/**
* The message is queued for future execution.
**/
Queued: AugmentedError<ApiType>;
/**
* The queue is paused and no message can be executed from it.
*
* This can change at any time and may resolve in the future by re-trying.
**/
QueuePaused: AugmentedError<ApiType>;
/**
* Another call is in progress and needs to finish before this call can happen.
**/
RecursiveDisallowed: AugmentedError<ApiType>;
/**
* This message is temporarily unprocessable.
*
* Such errors are expected, but not guaranteed, to resolve themselves eventually through
* retrying.
**/
TemporarilyUnprocessable: AugmentedError<ApiType>;
/**
* Generic error
**/
[key: string]: AugmentedError<ApiType>;
};
nonfungible: {
/**
* Unable to burn NFT with children
**/
CantBurnNftWithChildren: AugmentedError<ApiType>;
/**
* Used amount > 1 with NFT
**/
NonfungibleItemsHaveNoAmount: AugmentedError<ApiType>;
/**
* Not Nonfungible item data used to mint in Nonfungible collection.
**/
NotNonfungibleDataUsedToMintFungibleCollectionToken: AugmentedError<ApiType>;
/**
* Generic error
**/
[key: string]: AugmentedError<ApiType>;
};
parachainSystem: {
/**
* The inherent which supplies the host configuration did not run this block.
**/
HostConfigurationNotAvailable: AugmentedError<ApiType>;
/**
* No code upgrade has been authorized.
**/
NothingAuthorized: AugmentedError<ApiType>;
/**
* No validation function upgrade is currently scheduled.
**/
NotScheduled: AugmentedError<ApiType>;
/**
* Attempt to upgrade validation function while existing upgrade pending.
**/
OverlappingUpgrades: AugmentedError<ApiType>;
/**
* Polkadot currently prohibits this parachain from upgrading its validation function.
**/
ProhibitedByPolkadot: AugmentedError<ApiType>;
/**
* The supplied validation function has compiled into a blob larger than Polkadot is
* willing to run.
**/
TooBig: AugmentedError<ApiType>;
/**
* The given code upgrade has not been authorized.
**/
Unauthorized: AugmentedError<ApiType>;
/**
* The inherent which supplies the validation data did not run this block.
**/
ValidationDataNotAvailable: AugmentedError<ApiType>;
/**
* Generic error
**/
[key: string]: AugmentedError<ApiType>;
};
polkadotXcm: {
/**
* The given account is not an identifiable sovereign account for any location.
**/
AccountNotSovereign: AugmentedError<ApiType>;
/**
* The location is invalid since it already has a subscription from us.
**/
AlreadySubscribed: AugmentedError<ApiType>;
/**
* The given location could not be used (e.g. because it cannot be expressed in the
* desired version of XCM).
**/
BadLocation: AugmentedError<ApiType>;
/**
* The version of the `Versioned` value used is not able to be interpreted.
**/
BadVersion: AugmentedError<ApiType>;
/**
* Could not check-out the assets for teleportation to the destination chain.
**/
CannotCheckOutTeleport: AugmentedError<ApiType>;
/**
* Could not re-anchor the assets to declare the fees for the destination chain.
**/
CannotReanchor: AugmentedError<ApiType>;
/**
* The destination `Location` provided cannot be inverted.
**/
DestinationNotInvertible: AugmentedError<ApiType>;
/**
* The assets to be sent are empty.
**/