Skip to content

Latest commit

 

History

History
97 lines (95 loc) · 3.05 KB

error-codes.md

File metadata and controls

97 lines (95 loc) · 3.05 KB

RevoraError codes

Generated from the RevoraError enum in src/lib.rs (#[repr(u32)]). Wire values are intended to be stable; see the doc comments on each variant in the source for meaning. Auth failures are raised by the host (require_auth), not by RevoraError.

Code Name
1 InvalidRevenueShareBps
2 LimitReached
3 ConcentrationLimitExceeded
4 OfferingNotFound
5 PeriodAlreadyDeposited
6 NoPendingClaims
7 HolderBlacklisted
8 InvalidShareBps
9 PaymentTokenMismatch
10 ContractFrozen
11 ClaimDelayNotElapsed
12 SnapshotNotEnabled
13 OutdatedSnapshot
14 PayoutAssetMismatch
15 IssuerTransferPending
16 NoTransferPending
17 UnauthorizedTransferAccept
18 MetadataTooLarge
19 NotAuthorized
20 NotInitialized
21 InvalidAmount
22 InvalidPeriodId
23 SupplyCapExceeded
24 MetadataInvalidFormat
25 ReportingWindowClosed
26 ClaimWindowClosed
27 SignatureExpired
28 SignatureReplay
29 SignerKeyNotRegistered
30 ProposalExpired
31 JurisdictionDisallowed
32 AlreadyAtTargetVersion
33 MigrationDowngradeNotAllowed
34 CloseAbortInvariantsViolated
35 NoAdminRotationPending
36 UnauthorizedRotationAccept
37 AdminRotationDelayNotElapsed
38 FaucetCooldownActive
39 TransferFailed
40 AdminRotationSameAddress
41 AdminRotationPending
42 OfferingFrozen
43 IssuerTransferExpired
44 ContractPaused
45 BlacklistSizeLimitExceeded
46 AlreadyApproved
47 MissingReportForOverride
48 PeriodAlreadyClosed
49 SnapshotNotFinalized
50 SnapshotHashMismatch
51 DisplayDecimalsOutOfRange
52 VestingTransferBlocked
53 StaleConcentrationData
54 DisclosureUriTooLong
55 InconsistentDisclosure
56 DualSigSameSigner
57 DualSigNotConfigured
58 DisputeNotFound
59 DisputeAlreadyOpen
60 MaxDisputesReached
61 DisputeZeroShare
63 AllOraclesStale
64 TestnetOnly
65 HolderFrozen
66 InvalidShareClass
67 InvalidShareClassBps
68 InvalidConversionRatio
69 FeeExceedsHolderShare
70 CategoryCapReached
71 ConversionNotApproved
72 UnvestedConversionBlocked
73 FreezeReasonMismatch
74 InsufficientClassBalance
75 RedemptionWindowClosed
76 JurisdictionMigrationDeadlineExceeded
77 NetworkIdMismatch
78 LockupViolation
79 MaxTotalSupplySharesExceeded
80 DecimalsMismatch
81 DisputeWindowClosed
82 StaleNonce
83 TwapWindowTooShort
84 TwapWindowTooLong
85 StaleProposal
86 NotDisputeIssuer
87 DisputeAlreadyResolved
88 DisputeFreezeActive
89 TransferCooldownActive
90 ProofTooDeep
91 OracleQuoteStale
92 RedemptionWindowOverlap