import '@polkadot/api-base/types/errors'; import type { ApiTypes, AugmentedError } from '@polkadot/api-base/types'; export declare type __AugmentedError = AugmentedError; declare module '@polkadot/api-base/types/errors' { interface AugmentedErrors { accountFollows: { /** * Account can not follow itself. **/ AccountCannotFollowItself: AugmentedError; /** * Account can not unfollow itself. **/ AccountCannotUnfollowItself: AugmentedError; /** * Account (Alice) is already a follower of another account (Bob). **/ AlreadyAccountFollower: AugmentedError; /** * Social account that is being followed was not found by id. **/ FollowedAccountNotFound: AugmentedError; /** * Follower social account was not found by id. **/ FollowerAccountNotFound: AugmentedError; /** * Account (Alice) is not a follower of another account (Bob). **/ NotAccountFollower: AugmentedError; }; authorship: { /** * The uncle is genesis. **/ GenesisUncle: AugmentedError; /** * The uncle parent not in the chain. **/ InvalidUncleParent: AugmentedError; /** * The uncle isn't recent enough to be included. **/ OldUncle: AugmentedError; /** * The uncle is too high in chain. **/ TooHighUncle: AugmentedError; /** * Too many uncles. **/ TooManyUncles: AugmentedError; /** * The uncle is already included. **/ UncleAlreadyIncluded: AugmentedError; /** * Uncles already set in the block. **/ UnclesAlreadySet: AugmentedError; }; balances: { /** * Beneficiary account must pre-exist **/ DeadAccount: AugmentedError; /** * Value too low to create account due to existential deposit **/ ExistentialDeposit: AugmentedError; /** * A vesting schedule already exists for this account **/ ExistingVestingSchedule: AugmentedError; /** * Balance too low to send value. **/ InsufficientBalance: AugmentedError; /** * Transfer/payment would kill account **/ KeepAlive: AugmentedError; /** * Account liquidity restrictions prevent withdrawal **/ LiquidityRestrictions: AugmentedError; /** * Number of named reserves exceed MaxReserves **/ TooManyReserves: AugmentedError; /** * Vesting balance too high to send value **/ VestingBalance: AugmentedError; }; collatorSelection: { /** * User is already a candidate **/ AlreadyCandidate: AugmentedError; /** * User is already an Invulnerable **/ AlreadyInvulnerable: AugmentedError; /** * Account has no associated validator ID **/ NoAssociatedValidatorId: AugmentedError; /** * User is not a candidate **/ NotCandidate: AugmentedError; /** * Permission issue **/ Permission: AugmentedError; /** * Too few candidates **/ TooFewCandidates: AugmentedError; /** * Too many candidates **/ TooManyCandidates: AugmentedError; /** * Too many invulnerables **/ TooManyInvulnerables: AugmentedError; /** * Unknown error **/ Unknown: AugmentedError; /** * Validator ID is not yet registered **/ ValidatorNotRegistered: AugmentedError; }; cumulusXcm: {}; dmpQueue: { /** * The amount of weight given is possibly not enough for executing the message. **/ OverLimit: AugmentedError; /** * The message index given is unknown. **/ Unknown: AugmentedError; }; domains: { /** * This domain is already held by another account. **/ DomainAlreadyOwned: AugmentedError; /** * This domain label may contain only a-z, 0-9 and hyphen characters. **/ DomainContainsInvalidChar: AugmentedError; /** * The content stored in a domain metadata was not changed. **/ DomainContentNotChanged: AugmentedError; /** * This domain has expired. **/ DomainHasExpired: AugmentedError; /** * This domain cannot be registered yet, because this word is reserved. **/ DomainIsReserved: AugmentedError; /** * This domain label length must be between `MinDomainLength` and 63 characters, inclusive. **/ DomainIsTooShort: AugmentedError; /** * Domain was not found by the domain name. **/ DomainNotFound: AugmentedError; /** * A new inner value is the same as the old one. **/ InnerValueNotChanged: AugmentedError; /** * This account is not allowed to update the domain metadata. **/ NotDomainOwner: AugmentedError; /** * A new outer value is the same as the old one. **/ OuterValueNotChanged: AugmentedError; /** * Lower than the second-level domains are not allowed. **/ SubdomainsNotAllowed: AugmentedError; /** * Top-level domain must be specified. **/ TldNotSpecified: AugmentedError; /** * Top-level domain is not supported. **/ TldNotSupported: AugmentedError; /** * Cannot store a domain for such a long period of time. **/ TooBigRegistrationPeriod: AugmentedError; /** * Cannot register more than `MaxDomainsPerAccount` domains. **/ TooManyDomainsPerAccount: AugmentedError; /** * Reservation period cannot be a zero value. **/ ZeroReservationPeriod: AugmentedError; }; energy: { /** * Value too low to create account due to existential deposit **/ BalanceBelowExistentialDeposit: AugmentedError; /** * Not enough native balance to burn and generate energy. **/ NotEnoughBalance: AugmentedError; /** * Value coefficient is not a positive number. **/ ValueCoefficientIsNotPositive: AugmentedError; }; freeProxy: { OnlyFirstProxyCanBeFree: AugmentedError; }; parachainSystem: { /** * The inherent which supplies the host configuration did not run this block **/ HostConfigurationNotAvailable: AugmentedError; /** * No code upgrade has been authorized. **/ NothingAuthorized: AugmentedError; /** * No validation function upgrade is currently scheduled. **/ NotScheduled: AugmentedError; /** * Attempt to upgrade validation function while existing upgrade pending **/ OverlappingUpgrades: AugmentedError; /** * Polkadot currently prohibits this parachain from upgrading its validation function **/ ProhibitedByPolkadot: AugmentedError; /** * The supplied validation function has compiled into a blob larger than Polkadot is * willing to run **/ TooBig: AugmentedError; /** * The given code upgrade has not been authorized. **/ Unauthorized: AugmentedError; /** * The inherent which supplies the validation data did not run this block **/ ValidationDataNotAvailable: AugmentedError; }; polkadotXcm: { /** * The location is invalid since it already has a subscription from us. **/ AlreadySubscribed: AugmentedError; /** * The given location could not be used (e.g. because it cannot be expressed in the * desired version of XCM). **/ BadLocation: AugmentedError; /** * The version of the `Versioned` value used is not able to be interpreted. **/ BadVersion: AugmentedError; /** * Could not re-anchor the assets to declare the fees for the destination chain. **/ CannotReanchor: AugmentedError; /** * The destination `MultiLocation` provided cannot be inverted. **/ DestinationNotInvertible: AugmentedError; /** * The assets to be sent are empty. **/ Empty: AugmentedError; /** * The message execution fails the filter. **/ Filtered: AugmentedError; /** * Origin is invalid for sending. **/ InvalidOrigin: AugmentedError; /** * The referenced subscription could not be found. **/ NoSubscription: AugmentedError; /** * There was some other issue (i.e. not to do with routing) in sending the message. Perhaps * a lack of space for buffering the message. **/ SendFailure: AugmentedError; /** * Too many assets have been attempted for transfer. **/ TooManyAssets: AugmentedError; /** * The desired destination was unreachable, generally because there is a no way of routing * to it. **/ Unreachable: AugmentedError; /** * The message's weight could not be determined. **/ UnweighableMessage: AugmentedError; }; posts: { /** * Not allowed to create a post/comment when a scope (space or root post) is hidden. **/ CannotCreateInHiddenScope: AugmentedError; /** * Cannot move a post to the same space. **/ CannotMoveToSameSpace: AugmentedError; /** * Cannot share a post that is sharing another post. **/ CannotShareSharedPost: AugmentedError; /** * Cannot update space id of a comment. **/ CannotUpdateSpaceIdOnComment: AugmentedError; /** * Max comment depth reached. **/ MaxCommentDepthReached: AugmentedError; /** * User has no permission to create comments (aka replies) in this space. **/ NoPermissionToCreateComments: AugmentedError; /** * User has no permission to create root posts in this space. **/ NoPermissionToCreatePosts: AugmentedError; /** * User has no permission to share posts/comments from this space to another space. **/ NoPermissionToShare: AugmentedError; /** * User has no permission to update any posts in this space. **/ NoPermissionToUpdateAnyPost: AugmentedError; /** * A comment owner is not allowed to update their own comments in this space. **/ NoPermissionToUpdateOwnComments: AugmentedError; /** * A post owner is not allowed to update their own posts in this space. **/ NoPermissionToUpdateOwnPosts: AugmentedError; /** * Post has no replies. **/ NoRepliesOnPost: AugmentedError; /** * Only comment owner can update this comment. **/ NotACommentAuthor: AugmentedError; /** * Post by `parent_id` is not of a `Comment` extension. **/ NotACommentByParentId: AugmentedError; /** * An account is not a post owner. **/ NotAPostOwner: AugmentedError; /** * This post's extension is not a `SharedPost`. **/ NotASharedPost: AugmentedError; /** * This post's extension is not a `Comment`. **/ NotComment: AugmentedError; /** * Nothing to update in this post. **/ NoUpdatesForPost: AugmentedError; /** * Cannot share, because the original post was not found. **/ OriginalPostNotFound: AugmentedError; /** * `force_create_post` failed, because this post already exists. * Consider removing the post with `force_remove_post` first. **/ PostAlreadyExists: AugmentedError; /** * Root post should have a space id. **/ PostHasNoSpaceId: AugmentedError; /** * Post was not found by id. **/ PostNotFound: AugmentedError; /** * Unknown parent comment id. **/ UnknownParentComment: AugmentedError; }; profiles: { /** * There is no space set as profile. **/ NoSpaceSetAsProfile: AugmentedError; }; proxy: { /** * Account is already a proxy. **/ Duplicate: AugmentedError; /** * Call may not be made by proxy because it may escalate its privileges. **/ NoPermission: AugmentedError; /** * Cannot add self as proxy. **/ NoSelfProxy: AugmentedError; /** * Proxy registration not found. **/ NotFound: AugmentedError; /** * Sender is not a proxy of the account to be proxied. **/ NotProxy: AugmentedError; /** * There are too many proxies registered or too many announcements pending. **/ TooMany: AugmentedError; /** * Announcement, if made at all, was made too recently. **/ Unannounced: AugmentedError; /** * A call which is incompatible with the proxy type's filter was attempted. **/ Unproxyable: AugmentedError; }; reactions: { /** * Account has already reacted to this post/comment. **/ AccountAlreadyReacted: AugmentedError; /** * Not allowed to react on a post/comment if a root post is hidden. **/ CannotReactWhenPostHidden: AugmentedError; /** * Not allowed to react on a post/comment in a hidden space. **/ CannotReactWhenSpaceHidden: AugmentedError; /** * User has no permission to downvote posts/comments in this space. **/ NoPermissionToDownvote: AugmentedError; /** * User has no permission to upvote posts/comments in this space. **/ NoPermissionToUpvote: AugmentedError; /** * Only reaction owner can update their reaction. **/ NotReactionOwner: AugmentedError; /** * `force_create_post_reaction` failed, because reaction already exists. * Consider removing reaction first with `force_delete_post_reaction`. **/ ReactionAlreadyExists: AugmentedError; /** * There is no reaction by account on this post/comment. **/ ReactionByAccountNotFound: AugmentedError; /** * Reaction was not found by id. **/ ReactionNotFound: AugmentedError; /** * Reaction not found on post by provided [post_id] and [reaction_id]. **/ ReactionNotFoundOnPost: AugmentedError; /** * New reaction kind is the same as old one on this post/comment. **/ SameReaction: AugmentedError; }; roles: { /** * The user count sent doesn't match the real user count. **/ IncorrectUserCount: AugmentedError; /** * No permissions provided when trying to create a new role. * A role must have at least one permission. **/ NoPermissionsProvided: AugmentedError; /** * Account does not have permission to manage roles in this space. **/ NoPermissionToManageRoles: AugmentedError; /** * Nothing to update in role. **/ NoUpdatesProvided: AugmentedError; /** * No users provided when trying to grant a role. * A role must be granted/revoked to/from at least one user. **/ NoUsersProvided: AugmentedError; /** * Cannot disable a role that is already disabled. **/ RoleAlreadyDisabled: AugmentedError; /** * Cannot enable a role that is already enabled. **/ RoleAlreadyEnabled: AugmentedError; /** * `NextRoleId` exceeds its maximum value. **/ RoleIdOverflow: AugmentedError; /** * Role was not found by id. **/ RoleNotFound: AugmentedError; /** * Canot remove a role from this many users in a single transaction. * See `MaxUsersToProcessPerDeleteRole` parameter of this trait. **/ TooManyUsersToDeleteRole: AugmentedError; }; session: { /** * Registered duplicate key. **/ DuplicatedKey: AugmentedError; /** * Invalid ownership proof. **/ InvalidProof: AugmentedError; /** * Key setting account is not live, so it's impossible to associate keys. **/ NoAccount: AugmentedError; /** * No associated validator ID for account. **/ NoAssociatedValidatorId: AugmentedError; /** * No keys are associated with this account. **/ NoKeys: AugmentedError; }; spaceFollows: { /** * Account is already a space follower. **/ AlreadySpaceFollower: AugmentedError; /** * Not allowed to follow a hidden space. **/ CannotFollowHiddenSpace: AugmentedError; /** * Account is not a space follower. **/ NotSpaceFollower: AugmentedError; }; spaceOwnership: { /** * Account is already an owner of a space. **/ AlreadyASpaceOwner: AugmentedError; /** * The current space owner cannot transfer ownership to themself. **/ CannotTransferToCurrentOwner: AugmentedError; /** * There is no pending ownership transfer for a given space. **/ NoPendingTransferOnSpace: AugmentedError; /** * Account is not allowed to accept ownership transfer. **/ NotAllowedToAcceptOwnershipTransfer: AugmentedError; /** * Account is not allowed to reject ownership transfer. **/ NotAllowedToRejectOwnershipTransfer: AugmentedError; }; spaces: { /** * User has no permission to create subspaces within this space. **/ NoPermissionToCreateSubspaces: AugmentedError; /** * User has no permission to update this space. **/ NoPermissionToUpdateSpace: AugmentedError; /** * Only space owners can manage this space. **/ NotASpaceOwner: AugmentedError; /** * Nothing to update in this space. **/ NoUpdatesForSpace: AugmentedError; /** * New spaces' settings don't differ from the old ones. **/ NoUpdatesForSpacesSettings: AugmentedError; /** * Space is at root level, no `parent_id` specified. **/ SpaceIsAtRoot: AugmentedError; /** * Space was not found by id. **/ SpaceNotFound: AugmentedError; /** * There are too many spaces created by this account already **/ TooManySpacesPerAccount: AugmentedError; }; sudo: { /** * Sender must be the Sudo account **/ RequireSudo: AugmentedError; }; system: { /** * The origin filter prevent the call to be dispatched. **/ CallFiltered: AugmentedError; /** * Failed to extract the runtime version from the new runtime. * * Either calling `Core_version` or decoding `RuntimeVersion` failed. **/ FailedToExtractRuntimeVersion: AugmentedError; /** * The name of specification does not match between the current runtime * and the new runtime. **/ InvalidSpecName: AugmentedError; /** * Suicide called when the account has non-default composite data. **/ NonDefaultComposite: AugmentedError; /** * There is a non-zero reference count preventing the account from being purged. **/ NonZeroRefCount: AugmentedError; /** * The specification version is not allowed to decrease between the current runtime * and the new runtime. **/ SpecVersionNeedsToIncrease: AugmentedError; }; utility: { /** * Too many calls batched. **/ TooManyCalls: AugmentedError; }; vesting: { /** * Amount being transferred is too low to create a vesting schedule. **/ AmountLow: AugmentedError; /** * The account already has `MaxVestingSchedules` count of schedules and thus * cannot add another one. Consider merging existing schedules in order to add another. **/ AtMaxVestingSchedules: AugmentedError; /** * Failed to create a new schedule because some parameter was invalid. **/ InvalidScheduleParams: AugmentedError; /** * The account given is not vesting. **/ NotVesting: AugmentedError; /** * An index was out of bounds of the vesting schedules. **/ ScheduleIndexOutOfBounds: AugmentedError; }; xcmpQueue: { /** * Bad overweight index. **/ BadOverweightIndex: AugmentedError; /** * Bad XCM data. **/ BadXcm: AugmentedError; /** * Bad XCM origin. **/ BadXcmOrigin: AugmentedError; /** * Failed to send XCM message. **/ FailedToSend: AugmentedError; /** * Provided weight is possibly not enough to execute the message. **/ WeightOverLimit: AugmentedError; }; } }