augment-api-errors.ts 59 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886
  1. // Auto-generated via `yarn polkadot-types-from-chain`, do not edit
  2. /* eslint-disable */
  3. import type { ApiTypes } from '@polkadot/api/types';
  4. declare module '@polkadot/api/types/errors' {
  5. export interface AugmentedErrors<ApiType> {
  6. authorship: {
  7. /**
  8. * The uncle is genesis.
  9. **/
  10. GenesisUncle: AugmentedError<ApiType>;
  11. /**
  12. * The uncle parent not in the chain.
  13. **/
  14. InvalidUncleParent: AugmentedError<ApiType>;
  15. /**
  16. * The uncle isn't recent enough to be included.
  17. **/
  18. OldUncle: AugmentedError<ApiType>;
  19. /**
  20. * The uncle is too high in chain.
  21. **/
  22. TooHighUncle: AugmentedError<ApiType>;
  23. /**
  24. * Too many uncles.
  25. **/
  26. TooManyUncles: AugmentedError<ApiType>;
  27. /**
  28. * The uncle is already included.
  29. **/
  30. UncleAlreadyIncluded: AugmentedError<ApiType>;
  31. /**
  32. * Uncles already set in the block.
  33. **/
  34. UnclesAlreadySet: AugmentedError<ApiType>;
  35. };
  36. balances: {
  37. /**
  38. * Beneficiary account must pre-exist
  39. **/
  40. DeadAccount: AugmentedError<ApiType>;
  41. /**
  42. * Value too low to create account due to existential deposit
  43. **/
  44. ExistentialDeposit: AugmentedError<ApiType>;
  45. /**
  46. * A vesting schedule already exists for this account
  47. **/
  48. ExistingVestingSchedule: AugmentedError<ApiType>;
  49. /**
  50. * Balance too low to send value
  51. **/
  52. InsufficientBalance: AugmentedError<ApiType>;
  53. /**
  54. * Transfer/payment would kill account
  55. **/
  56. KeepAlive: AugmentedError<ApiType>;
  57. /**
  58. * Account liquidity restrictions prevent withdrawal
  59. **/
  60. LiquidityRestrictions: AugmentedError<ApiType>;
  61. /**
  62. * Got an overflow after adding
  63. **/
  64. Overflow: AugmentedError<ApiType>;
  65. /**
  66. * Vesting balance too high to send value
  67. **/
  68. VestingBalance: AugmentedError<ApiType>;
  69. };
  70. blog: {
  71. /**
  72. * A non-owner is trying to do a privilegeded action.
  73. **/
  74. BlogOwnershipError: AugmentedError<ApiType>;
  75. /**
  76. * Insuficient balance for reply creation
  77. **/
  78. InsufficientBalanceForReply: AugmentedError<ApiType>;
  79. /**
  80. * This error represent the invalid state where there is not enough funds in a post
  81. * account to pay off its delete
  82. **/
  83. InsufficientBalanceInPostAccount: AugmentedError<ApiType>;
  84. /**
  85. * Reaction doesn't exists
  86. **/
  87. InvalidReactionIndex: AugmentedError<ApiType>;
  88. /**
  89. * A non-member is trying to participate
  90. **/
  91. MembershipError: AugmentedError<ApiType>;
  92. /**
  93. * Number of posts exceeds limits.
  94. **/
  95. PostLimitReached: AugmentedError<ApiType>;
  96. /**
  97. * Post is locked for modifications.
  98. **/
  99. PostLockedError: AugmentedError<ApiType>;
  100. /**
  101. * Post do not exists.
  102. **/
  103. PostNotFound: AugmentedError<ApiType>;
  104. /**
  105. * Reply do no exists.
  106. **/
  107. ReplyNotFound: AugmentedError<ApiType>;
  108. /**
  109. * A non-owner of a reply is trying to do a privileged action.
  110. **/
  111. ReplyOwnershipError: AugmentedError<ApiType>;
  112. };
  113. bounty: {
  114. /**
  115. * Bounty doesnt exist.
  116. **/
  117. BountyDoesntExist: AugmentedError<ApiType>;
  118. /**
  119. * Incompatible assurance contract type for a member: cannot submit work to the 'closed
  120. * assurance' bounty contract.
  121. **/
  122. CannotSubmitWorkToClosedContractBounty: AugmentedError<ApiType>;
  123. /**
  124. * Cannot create a 'closed assurance contract' bounty with empty member list.
  125. **/
  126. ClosedContractMemberListIsEmpty: AugmentedError<ApiType>;
  127. /**
  128. * Cannot create a 'closed assurance contract' bounty with member list larger
  129. * than allowed max work entry limit.
  130. **/
  131. ClosedContractMemberListIsTooLarge: AugmentedError<ApiType>;
  132. /**
  133. * The conflicting stake discovered. Cannot stake.
  134. **/
  135. ConflictingStakes: AugmentedError<ApiType>;
  136. /**
  137. * Cannot create a bounty with an entrant stake is less than required minimum.
  138. **/
  139. EntrantStakeIsLessThanMininum: AugmentedError<ApiType>;
  140. /**
  141. * Cannot create a bounty with zero funding amount parameter.
  142. **/
  143. FundingAmountCannotBeZero: AugmentedError<ApiType>;
  144. /**
  145. * Funding amount less then minimum allowed.
  146. **/
  147. FundingLessThenMinimumAllowed: AugmentedError<ApiType>;
  148. /**
  149. * Cannot create a bounty with zero funding period parameter.
  150. **/
  151. FundingPeriodCannotBeZero: AugmentedError<ApiType>;
  152. /**
  153. * Funding period is not expired for the bounty.
  154. **/
  155. FundingPeriodNotExpired: AugmentedError<ApiType>;
  156. /**
  157. * Cherry less then minimum allowed.
  158. **/
  159. CherryLessThenMinimumAllowed: AugmentedError<ApiType>;
  160. /**
  161. * Insufficient balance for a bounty cherry.
  162. **/
  163. InsufficientBalanceForBounty: AugmentedError<ApiType>;
  164. /**
  165. * There is not enough balance for a stake.
  166. **/
  167. InsufficientBalanceForStake: AugmentedError<ApiType>;
  168. /**
  169. * Unexpected bounty stage for an operation: FailedBountyWithdrawal.
  170. **/
  171. InvalidStageUnexpectedFailedBountyWithdrawal: AugmentedError<ApiType>;
  172. /**
  173. * Unexpected bounty stage for an operation: Funding.
  174. **/
  175. InvalidStageUnexpectedFunding: AugmentedError<ApiType>;
  176. /**
  177. * Unexpected bounty stage for an operation: FundingExpired.
  178. **/
  179. InvalidStageUnexpectedFundingExpired: AugmentedError<ApiType>;
  180. /**
  181. * Unexpected bounty stage for an operation: Judgment.
  182. **/
  183. InvalidStageUnexpectedJudgment: AugmentedError<ApiType>;
  184. /**
  185. * Unexpected bounty stage for an operation: SuccessfulBountyWithdrawal.
  186. **/
  187. InvalidStageUnexpectedSuccessfulBountyWithdrawal: AugmentedError<ApiType>;
  188. /**
  189. * Unexpected bounty stage for an operation: WorkSubmission.
  190. **/
  191. InvalidStageUnexpectedWorkSubmission: AugmentedError<ApiType>;
  192. /**
  193. * Staking account doesn't belong to a member.
  194. **/
  195. InvalidStakingAccountForMember: AugmentedError<ApiType>;
  196. /**
  197. * Judging period cannot be zero.
  198. **/
  199. JudgingPeriodCannotBeZero: AugmentedError<ApiType>;
  200. /**
  201. * Cannot add work entry because of the limit.
  202. **/
  203. MaxWorkEntryLimitReached: AugmentedError<ApiType>;
  204. /**
  205. * Min funding amount cannot be greater than max amount.
  206. **/
  207. MinFundingAmountCannotBeGreaterThanMaxAmount: AugmentedError<ApiType>;
  208. /**
  209. * Cannot submit a judgment without active work entries. A probable case for an error:
  210. * an entry with a single submission for a bounty was withdrawn.
  211. **/
  212. NoActiveWorkEntries: AugmentedError<ApiType>;
  213. /**
  214. * Cannot found bounty contribution.
  215. **/
  216. NoBountyContributionFound: AugmentedError<ApiType>;
  217. /**
  218. * Operation can be performed only by a bounty creator.
  219. **/
  220. NotBountyActor: AugmentedError<ApiType>;
  221. /**
  222. * There is nothing to withdraw.
  223. **/
  224. NothingToWithdraw: AugmentedError<ApiType>;
  225. /**
  226. * The total reward for winners should be equal to total bounty funding.
  227. **/
  228. TotalRewardShouldBeEqualToTotalFunding: AugmentedError<ApiType>;
  229. /**
  230. * Invalid judgment - all winners should have work submissions.
  231. **/
  232. WinnerShouldHasWorkSubmission: AugmentedError<ApiType>;
  233. /**
  234. * Work entry doesnt exist.
  235. **/
  236. WorkEntryDoesntExist: AugmentedError<ApiType>;
  237. /**
  238. * Work period cannot be zero.
  239. **/
  240. WorkPeriodCannotBeZero: AugmentedError<ApiType>;
  241. /**
  242. * Incorrect funding amount.
  243. **/
  244. ZeroFundingAmount: AugmentedError<ApiType>;
  245. /**
  246. * Cannot set zero reward for winners.
  247. **/
  248. ZeroWinnerReward: AugmentedError<ApiType>;
  249. };
  250. content: {
  251. /**
  252. * This content actor cannot own a channel
  253. **/
  254. ActorCannotOwnChannel: AugmentedError<ApiType>;
  255. /**
  256. * Operation cannot be perfomed with this Actor
  257. **/
  258. ActorNotAuthorized: AugmentedError<ApiType>;
  259. /**
  260. * Expected root or signed origin
  261. **/
  262. BadOrigin: AugmentedError<ApiType>;
  263. /**
  264. * Curators can only censor non-curator group owned channels
  265. **/
  266. CannotCensoreCuratorGroupOwnedChannels: AugmentedError<ApiType>;
  267. /**
  268. * A Channel or Video Category does not exist.
  269. **/
  270. CategoryDoesNotExist: AugmentedError<ApiType>;
  271. /**
  272. * Curator authentication failed
  273. **/
  274. CuratorAuthFailed: AugmentedError<ApiType>;
  275. /**
  276. * Given curator group does not exist
  277. **/
  278. CuratorGroupDoesNotExist: AugmentedError<ApiType>;
  279. /**
  280. * Curator group is not active
  281. **/
  282. CuratorGroupIsNotActive: AugmentedError<ApiType>;
  283. /**
  284. * Curator id is not a worker id in content working group
  285. **/
  286. CuratorIdInvalid: AugmentedError<ApiType>;
  287. /**
  288. * Curator under provided curator id is already a member of curaror group under given id
  289. **/
  290. CuratorIsAlreadyAMemberOfGivenCuratorGroup: AugmentedError<ApiType>;
  291. /**
  292. * Curator under provided curator id is not a member of curaror group under given id
  293. **/
  294. CuratorIsNotAMemberOfGivenCuratorGroup: AugmentedError<ApiType>;
  295. /**
  296. * Max number of curators per group limit reached
  297. **/
  298. CuratorsPerGroupLimitReached: AugmentedError<ApiType>;
  299. /**
  300. * Feature Not Implemented
  301. **/
  302. FeatureNotImplemented: AugmentedError<ApiType>;
  303. /**
  304. * Channel does not exist
  305. **/
  306. ChannelDoesNotExist: AugmentedError<ApiType>;
  307. /**
  308. * Lead authentication failed
  309. **/
  310. LeadAuthFailed: AugmentedError<ApiType>;
  311. /**
  312. * Member authentication failed
  313. **/
  314. MemberAuthFailed: AugmentedError<ApiType>;
  315. /**
  316. * Video does not exist
  317. **/
  318. VideoDoesNotExist: AugmentedError<ApiType>;
  319. /**
  320. * Video in season can`t be removed (because order is important)
  321. **/
  322. VideoInSeason: AugmentedError<ApiType>;
  323. };
  324. contentDirectoryWorkingGroup: {
  325. /**
  326. * Trying to fill opening with an application for other opening
  327. **/
  328. ApplicationsNotForOpening: AugmentedError<ApiType>;
  329. /**
  330. * Application stake is less than required opening stake.
  331. **/
  332. ApplicationStakeDoesntMatchOpening: AugmentedError<ApiType>;
  333. /**
  334. * Staking less than the lower bound.
  335. **/
  336. BelowMinimumStakes: AugmentedError<ApiType>;
  337. /**
  338. * Cannot decrease stake - stake delta greater than initial stake.
  339. **/
  340. CannotDecreaseStakeDeltaGreaterThanStake: AugmentedError<ApiType>;
  341. /**
  342. * There is leader already, cannot hire another one.
  343. **/
  344. CannotHireLeaderWhenLeaderExists: AugmentedError<ApiType>;
  345. /**
  346. * Cannot fill opening with multiple applications.
  347. **/
  348. CannotHireMultipleLeaders: AugmentedError<ApiType>;
  349. /**
  350. * Reward could not be zero.
  351. **/
  352. CannotRewardWithZero: AugmentedError<ApiType>;
  353. /**
  354. * Invalid spending amount.
  355. **/
  356. CannotSpendZero: AugmentedError<ApiType>;
  357. /**
  358. * Staking account contains conflicting stakes.
  359. **/
  360. ConflictStakesOnAccount: AugmentedError<ApiType>;
  361. /**
  362. * Current lead is not set.
  363. **/
  364. CurrentLeadNotSet: AugmentedError<ApiType>;
  365. /**
  366. * Insufficient balance to cover stake.
  367. **/
  368. InsufficientBalanceToCoverStake: AugmentedError<ApiType>;
  369. /**
  370. * It's not enough budget for this spending.
  371. **/
  372. InsufficientBudgetForSpending: AugmentedError<ApiType>;
  373. /**
  374. * Invalid origin for a member.
  375. **/
  376. InvalidMemberOrigin: AugmentedError<ApiType>;
  377. /**
  378. * Staking account doesn't belong to a member.
  379. **/
  380. InvalidStakingAccountForMember: AugmentedError<ApiType>;
  381. /**
  382. * Not a lead account.
  383. **/
  384. IsNotLeadAccount: AugmentedError<ApiType>;
  385. /**
  386. * Working group size limit exceeded.
  387. **/
  388. MaxActiveWorkerNumberExceeded: AugmentedError<ApiType>;
  389. /**
  390. * Cannot fill opening - no applications provided.
  391. **/
  392. NoApplicationsProvided: AugmentedError<ApiType>;
  393. /**
  394. * Opening does not exist.
  395. **/
  396. OpeningDoesNotExist: AugmentedError<ApiType>;
  397. /**
  398. * Origin is not applicant.
  399. **/
  400. OriginIsNotApplicant: AugmentedError<ApiType>;
  401. /**
  402. * Signer is not worker role account.
  403. **/
  404. SignerIsNotWorkerRoleAccount: AugmentedError<ApiType>;
  405. /**
  406. * Provided stake balance cannot be zero.
  407. **/
  408. StakeBalanceCannotBeZero: AugmentedError<ApiType>;
  409. /**
  410. * Successful worker application does not exist.
  411. **/
  412. SuccessfulWorkerApplicationDoesNotExist: AugmentedError<ApiType>;
  413. /**
  414. * Specified unstaking period is less then minimum set for the group.
  415. **/
  416. UnstakingPeriodLessThanMinimum: AugmentedError<ApiType>;
  417. /**
  418. * Worker application does not exist.
  419. **/
  420. WorkerApplicationDoesNotExist: AugmentedError<ApiType>;
  421. /**
  422. * Worker does not exist.
  423. **/
  424. WorkerDoesNotExist: AugmentedError<ApiType>;
  425. /**
  426. * Worker has no recurring reward.
  427. **/
  428. WorkerHasNoReward: AugmentedError<ApiType>;
  429. /**
  430. * Invalid operation - worker is leaving.
  431. **/
  432. WorkerIsLeaving: AugmentedError<ApiType>;
  433. /**
  434. * Worker storage text is too long.
  435. **/
  436. WorkerStorageValueTooLong: AugmentedError<ApiType>;
  437. };
  438. council: {
  439. /**
  440. * Origin is invalid.
  441. **/
  442. BadOrigin: AugmentedError<ApiType>;
  443. /**
  444. * Candidate haven't provided sufficient stake.
  445. **/
  446. CandidacyStakeTooLow: AugmentedError<ApiType>;
  447. /**
  448. * User tried to announce candidacy outside of the candidacy announcement period.
  449. **/
  450. CantCandidateNow: AugmentedError<ApiType>;
  451. /**
  452. * User tried to announce candidacy twice in the same elections.
  453. **/
  454. CantCandidateTwice: AugmentedError<ApiType>;
  455. /**
  456. * User tried to release stake outside of the revealing period.
  457. **/
  458. CantReleaseStakeNow: AugmentedError<ApiType>;
  459. /**
  460. * Candidate can't vote for himself.
  461. **/
  462. CantVoteForYourself: AugmentedError<ApiType>;
  463. /**
  464. * Can't withdraw candidacy outside of the candidacy announcement period.
  465. **/
  466. CantWithdrawCandidacyNow: AugmentedError<ApiType>;
  467. /**
  468. * User tried to announce candidacy with an account that has the conflicting type of stake
  469. * with candidacy stake and has not enough balance for staking for both purposes.
  470. **/
  471. ConflictingStake: AugmentedError<ApiType>;
  472. /**
  473. * Funding requests without recieving accounts
  474. **/
  475. EmptyFundingRequests: AugmentedError<ApiType>;
  476. /**
  477. * Insufficient balance for candidacy staking.
  478. **/
  479. InsufficientBalanceForStaking: AugmentedError<ApiType>;
  480. /**
  481. * Insufficent funds in council for executing 'Funding Request'
  482. **/
  483. InsufficientFundsForFundingRequest: AugmentedError<ApiType>;
  484. /**
  485. * The combination of membership id and account id is invalid for unstaking an existing
  486. * candidacy stake.
  487. **/
  488. InvalidAccountToStakeReuse: AugmentedError<ApiType>;
  489. /**
  490. * Invalid membership.
  491. **/
  492. MemberIdNotMatchAccount: AugmentedError<ApiType>;
  493. /**
  494. * User tried to release stake when no stake exists.
  495. **/
  496. NoStake: AugmentedError<ApiType>;
  497. /**
  498. * User tried to withdraw candidacy when not candidating.
  499. **/
  500. NotCandidatingNow: AugmentedError<ApiType>;
  501. /**
  502. * The member is not a councilor.
  503. **/
  504. NotCouncilor: AugmentedError<ApiType>;
  505. /**
  506. * The same account is recieving funds from the same request twice
  507. **/
  508. RepeatedFundRequestAccount: AugmentedError<ApiType>;
  509. /**
  510. * Council member and candidates can't withdraw stake yet.
  511. **/
  512. StakeStillNeeded: AugmentedError<ApiType>;
  513. /**
  514. * Fund request no balance
  515. **/
  516. ZeroBalanceFundRequest: AugmentedError<ApiType>;
  517. };
  518. dataDirectory: {
  519. /**
  520. * Content with this ID not found.
  521. **/
  522. CidNotFound: AugmentedError<ApiType>;
  523. /**
  524. * Content uploading blocked.
  525. **/
  526. ContentUploadingBlocked: AugmentedError<ApiType>;
  527. /**
  528. * "Data object already added under this content id".
  529. **/
  530. DataObjectAlreadyAdded: AugmentedError<ApiType>;
  531. /**
  532. * DataObject Injection Failed. Too Many DataObjects.
  533. **/
  534. DataObjectsInjectionExceededLimit: AugmentedError<ApiType>;
  535. /**
  536. * Cannot create content for inactive or missing data object type.
  537. **/
  538. DataObjectTypeMustBeActive: AugmentedError<ApiType>;
  539. /**
  540. * Provided owner should be equal o the data object owner under given content id
  541. **/
  542. OwnersAreNotEqual: AugmentedError<ApiType>;
  543. /**
  544. * Require root origin in extrinsics.
  545. **/
  546. RequireRootOrigin: AugmentedError<ApiType>;
  547. /**
  548. * New voucher limit being set is less than used.
  549. **/
  550. VoucherLimitLessThanUsed: AugmentedError<ApiType>;
  551. /**
  552. * Contant uploading failed. Actor voucher objects limit exceeded.
  553. **/
  554. VoucherObjectsLimitExceeded: AugmentedError<ApiType>;
  555. /**
  556. * Voucher objects limit upper bound exceeded
  557. **/
  558. VoucherObjectsLimitUpperBoundExceeded: AugmentedError<ApiType>;
  559. /**
  560. * Overflow detected when changing
  561. **/
  562. VoucherOverflow: AugmentedError<ApiType>;
  563. /**
  564. * Contant uploading failed. Actor voucher size limit exceeded.
  565. **/
  566. VoucherSizeLimitExceeded: AugmentedError<ApiType>;
  567. /**
  568. * Voucher size limit upper bound exceeded
  569. **/
  570. VoucherSizeLimitUpperBoundExceeded: AugmentedError<ApiType>;
  571. };
  572. dataObjectStorageRegistry: {
  573. /**
  574. * Content with this ID not found.
  575. **/
  576. CidNotFound: AugmentedError<ApiType>;
  577. /**
  578. * No data object storage relationship found for this ID.
  579. **/
  580. DataObjectStorageRelationshipNotFound: AugmentedError<ApiType>;
  581. /**
  582. * Only the storage provider in a DOSR can decide whether they're ready.
  583. **/
  584. OnlyStorageProviderMayClaimReady: AugmentedError<ApiType>;
  585. /**
  586. * Require root origin in extrinsics
  587. **/
  588. RequireRootOrigin: AugmentedError<ApiType>;
  589. };
  590. dataObjectTypeRegistry: {
  591. /**
  592. * Data Object Type with the given ID not found.
  593. **/
  594. DataObjectTypeNotFound: AugmentedError<ApiType>;
  595. /**
  596. * Require root origin in extrinsics
  597. **/
  598. RequireRootOrigin: AugmentedError<ApiType>;
  599. };
  600. finalityTracker: {
  601. /**
  602. * Final hint must be updated only once in the block
  603. **/
  604. AlreadyUpdated: AugmentedError<ApiType>;
  605. /**
  606. * Finalized height above block number
  607. **/
  608. BadHint: AugmentedError<ApiType>;
  609. };
  610. forum: {
  611. /**
  612. * Account does not match post author.
  613. **/
  614. AccountDoesNotMatchPostAuthor: AugmentedError<ApiType>;
  615. /**
  616. * Thread not authored by the given user.
  617. **/
  618. AccountDoesNotMatchThreadAuthor: AugmentedError<ApiType>;
  619. /**
  620. * Forum user has already voted.
  621. **/
  622. AlreadyVotedOnPoll: AugmentedError<ApiType>;
  623. /**
  624. * Ancestor category immutable, i.e. deleted or archived
  625. **/
  626. AncestorCategoryImmutable: AugmentedError<ApiType>;
  627. /**
  628. * Category does not exist.
  629. **/
  630. CategoryDoesNotExist: AugmentedError<ApiType>;
  631. /**
  632. * Provided moderator is not given category moderator
  633. **/
  634. CategoryModeratorDoesNotExist: AugmentedError<ApiType>;
  635. /**
  636. * Category not being updated.
  637. **/
  638. CategoryNotBeingUpdated: AugmentedError<ApiType>;
  639. /**
  640. * Category still contains some subcategories.
  641. **/
  642. CategoryNotEmptyCategories: AugmentedError<ApiType>;
  643. /**
  644. * Category still contains some threads.
  645. **/
  646. CategoryNotEmptyThreads: AugmentedError<ApiType>;
  647. /**
  648. * data migration not done yet.
  649. **/
  650. DataMigrationNotDone: AugmentedError<ApiType>;
  651. /**
  652. * Forum user id not match its account.
  653. **/
  654. ForumUserIdNotMatchAccount: AugmentedError<ApiType>;
  655. /**
  656. * Not enough balance to post
  657. **/
  658. InsufficientBalanceForPost: AugmentedError<ApiType>;
  659. /**
  660. * Not enough balance to create thread
  661. **/
  662. InsufficientBalanceForThreadCreation: AugmentedError<ApiType>;
  663. /**
  664. * Maximum size of storage map exceeded
  665. **/
  666. MapSizeLimit: AugmentedError<ApiType>;
  667. /**
  668. * Maximum valid category depth exceeded.
  669. **/
  670. MaxValidCategoryDepthExceeded: AugmentedError<ApiType>;
  671. /**
  672. * No permissions to delete category.
  673. **/
  674. ModeratorCantDeleteCategory: AugmentedError<ApiType>;
  675. /**
  676. * No permissions to update category.
  677. **/
  678. ModeratorCantUpdateCategory: AugmentedError<ApiType>;
  679. /**
  680. * Moderator id not match its account.
  681. **/
  682. ModeratorIdNotMatchAccount: AugmentedError<ApiType>;
  683. /**
  684. * Moderator can't moderate destination category.
  685. **/
  686. ModeratorModerateDestinationCategory: AugmentedError<ApiType>;
  687. /**
  688. * Moderator can't moderate category containing thread.
  689. **/
  690. ModeratorModerateOriginCategory: AugmentedError<ApiType>;
  691. /**
  692. * Origin doesn't correspond to any lead account
  693. **/
  694. OriginNotForumLead: AugmentedError<ApiType>;
  695. /**
  696. * Category path len should be greater than zero
  697. **/
  698. PathLengthShouldBeGreaterThanZero: AugmentedError<ApiType>;
  699. /**
  700. * Poll items number too short.
  701. **/
  702. PollAlternativesTooShort: AugmentedError<ApiType>;
  703. /**
  704. * Poll data committed after poll expired.
  705. **/
  706. PollCommitExpired: AugmentedError<ApiType>;
  707. /**
  708. * Poll data committed is wrong.
  709. **/
  710. PollData: AugmentedError<ApiType>;
  711. /**
  712. * Poll not exist.
  713. **/
  714. PollNotExist: AugmentedError<ApiType>;
  715. /**
  716. * Poll date setting is wrong.
  717. **/
  718. PollTimeSetting: AugmentedError<ApiType>;
  719. /**
  720. * Post does not exist.
  721. **/
  722. PostDoesNotExist: AugmentedError<ApiType>;
  723. /**
  724. * Duplicates for the stickied thread id collection.
  725. **/
  726. StickiedThreadIdsDuplicates: AugmentedError<ApiType>;
  727. /**
  728. * Thread does not exist
  729. **/
  730. ThreadDoesNotExist: AugmentedError<ApiType>;
  731. /**
  732. * Origin is the same as the destination.
  733. **/
  734. ThreadMoveInvalid: AugmentedError<ApiType>;
  735. /**
  736. * Thread not being updated.
  737. **/
  738. ThreadNotBeingUpdated: AugmentedError<ApiType>;
  739. };
  740. forumWorkingGroup: {
  741. /**
  742. * Trying to fill opening with an application for other opening
  743. **/
  744. ApplicationsNotForOpening: AugmentedError<ApiType>;
  745. /**
  746. * Application stake is less than required opening stake.
  747. **/
  748. ApplicationStakeDoesntMatchOpening: AugmentedError<ApiType>;
  749. /**
  750. * Staking less than the lower bound.
  751. **/
  752. BelowMinimumStakes: AugmentedError<ApiType>;
  753. /**
  754. * Cannot decrease stake - stake delta greater than initial stake.
  755. **/
  756. CannotDecreaseStakeDeltaGreaterThanStake: AugmentedError<ApiType>;
  757. /**
  758. * There is leader already, cannot hire another one.
  759. **/
  760. CannotHireLeaderWhenLeaderExists: AugmentedError<ApiType>;
  761. /**
  762. * Cannot fill opening with multiple applications.
  763. **/
  764. CannotHireMultipleLeaders: AugmentedError<ApiType>;
  765. /**
  766. * Reward could not be zero.
  767. **/
  768. CannotRewardWithZero: AugmentedError<ApiType>;
  769. /**
  770. * Invalid spending amount.
  771. **/
  772. CannotSpendZero: AugmentedError<ApiType>;
  773. /**
  774. * Staking account contains conflicting stakes.
  775. **/
  776. ConflictStakesOnAccount: AugmentedError<ApiType>;
  777. /**
  778. * Current lead is not set.
  779. **/
  780. CurrentLeadNotSet: AugmentedError<ApiType>;
  781. /**
  782. * Insufficient balance to cover stake.
  783. **/
  784. InsufficientBalanceToCoverStake: AugmentedError<ApiType>;
  785. /**
  786. * It's not enough budget for this spending.
  787. **/
  788. InsufficientBudgetForSpending: AugmentedError<ApiType>;
  789. /**
  790. * Invalid origin for a member.
  791. **/
  792. InvalidMemberOrigin: AugmentedError<ApiType>;
  793. /**
  794. * Staking account doesn't belong to a member.
  795. **/
  796. InvalidStakingAccountForMember: AugmentedError<ApiType>;
  797. /**
  798. * Not a lead account.
  799. **/
  800. IsNotLeadAccount: AugmentedError<ApiType>;
  801. /**
  802. * Working group size limit exceeded.
  803. **/
  804. MaxActiveWorkerNumberExceeded: AugmentedError<ApiType>;
  805. /**
  806. * Cannot fill opening - no applications provided.
  807. **/
  808. NoApplicationsProvided: AugmentedError<ApiType>;
  809. /**
  810. * Opening does not exist.
  811. **/
  812. OpeningDoesNotExist: AugmentedError<ApiType>;
  813. /**
  814. * Origin is not applicant.
  815. **/
  816. OriginIsNotApplicant: AugmentedError<ApiType>;
  817. /**
  818. * Signer is not worker role account.
  819. **/
  820. SignerIsNotWorkerRoleAccount: AugmentedError<ApiType>;
  821. /**
  822. * Provided stake balance cannot be zero.
  823. **/
  824. StakeBalanceCannotBeZero: AugmentedError<ApiType>;
  825. /**
  826. * Successful worker application does not exist.
  827. **/
  828. SuccessfulWorkerApplicationDoesNotExist: AugmentedError<ApiType>;
  829. /**
  830. * Specified unstaking period is less then minimum set for the group.
  831. **/
  832. UnstakingPeriodLessThanMinimum: AugmentedError<ApiType>;
  833. /**
  834. * Worker application does not exist.
  835. **/
  836. WorkerApplicationDoesNotExist: AugmentedError<ApiType>;
  837. /**
  838. * Worker does not exist.
  839. **/
  840. WorkerDoesNotExist: AugmentedError<ApiType>;
  841. /**
  842. * Worker has no recurring reward.
  843. **/
  844. WorkerHasNoReward: AugmentedError<ApiType>;
  845. /**
  846. * Invalid operation - worker is leaving.
  847. **/
  848. WorkerIsLeaving: AugmentedError<ApiType>;
  849. /**
  850. * Worker storage text is too long.
  851. **/
  852. WorkerStorageValueTooLong: AugmentedError<ApiType>;
  853. };
  854. gatewayWorkingGroup: {
  855. /**
  856. * Trying to fill opening with an application for other opening
  857. **/
  858. ApplicationsNotForOpening: AugmentedError<ApiType>;
  859. /**
  860. * Application stake is less than required opening stake.
  861. **/
  862. ApplicationStakeDoesntMatchOpening: AugmentedError<ApiType>;
  863. /**
  864. * Staking less than the lower bound.
  865. **/
  866. BelowMinimumStakes: AugmentedError<ApiType>;
  867. /**
  868. * Cannot decrease stake - stake delta greater than initial stake.
  869. **/
  870. CannotDecreaseStakeDeltaGreaterThanStake: AugmentedError<ApiType>;
  871. /**
  872. * There is leader already, cannot hire another one.
  873. **/
  874. CannotHireLeaderWhenLeaderExists: AugmentedError<ApiType>;
  875. /**
  876. * Cannot fill opening with multiple applications.
  877. **/
  878. CannotHireMultipleLeaders: AugmentedError<ApiType>;
  879. /**
  880. * Reward could not be zero.
  881. **/
  882. CannotRewardWithZero: AugmentedError<ApiType>;
  883. /**
  884. * Invalid spending amount.
  885. **/
  886. CannotSpendZero: AugmentedError<ApiType>;
  887. /**
  888. * Staking account contains conflicting stakes.
  889. **/
  890. ConflictStakesOnAccount: AugmentedError<ApiType>;
  891. /**
  892. * Current lead is not set.
  893. **/
  894. CurrentLeadNotSet: AugmentedError<ApiType>;
  895. /**
  896. * Insufficient balance to cover stake.
  897. **/
  898. InsufficientBalanceToCoverStake: AugmentedError<ApiType>;
  899. /**
  900. * It's not enough budget for this spending.
  901. **/
  902. InsufficientBudgetForSpending: AugmentedError<ApiType>;
  903. /**
  904. * Invalid origin for a member.
  905. **/
  906. InvalidMemberOrigin: AugmentedError<ApiType>;
  907. /**
  908. * Staking account doesn't belong to a member.
  909. **/
  910. InvalidStakingAccountForMember: AugmentedError<ApiType>;
  911. /**
  912. * Not a lead account.
  913. **/
  914. IsNotLeadAccount: AugmentedError<ApiType>;
  915. /**
  916. * Working group size limit exceeded.
  917. **/
  918. MaxActiveWorkerNumberExceeded: AugmentedError<ApiType>;
  919. /**
  920. * Cannot fill opening - no applications provided.
  921. **/
  922. NoApplicationsProvided: AugmentedError<ApiType>;
  923. /**
  924. * Opening does not exist.
  925. **/
  926. OpeningDoesNotExist: AugmentedError<ApiType>;
  927. /**
  928. * Origin is not applicant.
  929. **/
  930. OriginIsNotApplicant: AugmentedError<ApiType>;
  931. /**
  932. * Signer is not worker role account.
  933. **/
  934. SignerIsNotWorkerRoleAccount: AugmentedError<ApiType>;
  935. /**
  936. * Provided stake balance cannot be zero.
  937. **/
  938. StakeBalanceCannotBeZero: AugmentedError<ApiType>;
  939. /**
  940. * Successful worker application does not exist.
  941. **/
  942. SuccessfulWorkerApplicationDoesNotExist: AugmentedError<ApiType>;
  943. /**
  944. * Specified unstaking period is less then minimum set for the group.
  945. **/
  946. UnstakingPeriodLessThanMinimum: AugmentedError<ApiType>;
  947. /**
  948. * Worker application does not exist.
  949. **/
  950. WorkerApplicationDoesNotExist: AugmentedError<ApiType>;
  951. /**
  952. * Worker does not exist.
  953. **/
  954. WorkerDoesNotExist: AugmentedError<ApiType>;
  955. /**
  956. * Worker has no recurring reward.
  957. **/
  958. WorkerHasNoReward: AugmentedError<ApiType>;
  959. /**
  960. * Invalid operation - worker is leaving.
  961. **/
  962. WorkerIsLeaving: AugmentedError<ApiType>;
  963. /**
  964. * Worker storage text is too long.
  965. **/
  966. WorkerStorageValueTooLong: AugmentedError<ApiType>;
  967. };
  968. grandpa: {
  969. /**
  970. * A given equivocation report is valid but already previously reported.
  971. **/
  972. DuplicateOffenceReport: AugmentedError<ApiType>;
  973. /**
  974. * Attempt to signal GRANDPA change with one already pending.
  975. **/
  976. ChangePending: AugmentedError<ApiType>;
  977. /**
  978. * An equivocation proof provided as part of an equivocation report is invalid.
  979. **/
  980. InvalidEquivocationProof: AugmentedError<ApiType>;
  981. /**
  982. * A key ownership proof provided as part of an equivocation report is invalid.
  983. **/
  984. InvalidKeyOwnershipProof: AugmentedError<ApiType>;
  985. /**
  986. * Attempt to signal GRANDPA pause when the authority set isn't live
  987. * (either paused or already pending pause).
  988. **/
  989. PauseFailed: AugmentedError<ApiType>;
  990. /**
  991. * Attempt to signal GRANDPA resume when the authority set isn't paused
  992. * (either live or already pending resume).
  993. **/
  994. ResumeFailed: AugmentedError<ApiType>;
  995. /**
  996. * Cannot signal forced change so soon after last.
  997. **/
  998. TooSoon: AugmentedError<ApiType>;
  999. };
  1000. imOnline: {
  1001. /**
  1002. * Duplicated heartbeat.
  1003. **/
  1004. DuplicatedHeartbeat: AugmentedError<ApiType>;
  1005. /**
  1006. * Non existent public key.
  1007. **/
  1008. InvalidKey: AugmentedError<ApiType>;
  1009. };
  1010. joystreamUtility: {
  1011. /**
  1012. * Insufficient funds for 'Update Working Group Budget' proposal execution
  1013. **/
  1014. InsufficientFundsForBudgetUpdate: AugmentedError<ApiType>;
  1015. /**
  1016. * Insufficient funds for burning
  1017. **/
  1018. InsufficientFundsForBurn: AugmentedError<ApiType>;
  1019. /**
  1020. * Trying to burn zero tokens
  1021. **/
  1022. ZeroTokensBurn: AugmentedError<ApiType>;
  1023. };
  1024. members: {
  1025. /**
  1026. * Cannot set a referral cut percent value. The limit was exceeded.
  1027. **/
  1028. CannotExceedReferralCutPercentLimit: AugmentedError<ApiType>;
  1029. /**
  1030. * Should be a member to receive invites.
  1031. **/
  1032. CannotTransferInvitesForNotMember: AugmentedError<ApiType>;
  1033. /**
  1034. * Cannot invite a member. The controller account has an existing conflicting lock.
  1035. **/
  1036. ConflictingLock: AugmentedError<ApiType>;
  1037. /**
  1038. * Staking account contains conflicting stakes.
  1039. **/
  1040. ConflictStakesOnAccount: AugmentedError<ApiType>;
  1041. /**
  1042. * Controller account required.
  1043. **/
  1044. ControllerAccountRequired: AugmentedError<ApiType>;
  1045. /**
  1046. * Handle already registered.
  1047. **/
  1048. HandleAlreadyRegistered: AugmentedError<ApiType>;
  1049. /**
  1050. * Handle must be provided during registration.
  1051. **/
  1052. HandleMustBeProvidedDuringRegistration: AugmentedError<ApiType>;
  1053. /**
  1054. * Insufficient balance to cover stake.
  1055. **/
  1056. InsufficientBalanceToCoverStake: AugmentedError<ApiType>;
  1057. /**
  1058. * Member profile not found (invalid member id).
  1059. **/
  1060. MemberProfileNotFound: AugmentedError<ApiType>;
  1061. /**
  1062. * Not enough balance to buy membership.
  1063. **/
  1064. NotEnoughBalanceToBuyMembership: AugmentedError<ApiType>;
  1065. /**
  1066. * Not enough invites to perform an operation.
  1067. **/
  1068. NotEnoughInvites: AugmentedError<ApiType>;
  1069. /**
  1070. * Cannot find a membership for a provided referrer id.
  1071. **/
  1072. ReferrerIsNotMember: AugmentedError<ApiType>;
  1073. /**
  1074. * Root account required.
  1075. **/
  1076. RootAccountRequired: AugmentedError<ApiType>;
  1077. /**
  1078. * Staking account has already been confirmed.
  1079. **/
  1080. StakingAccountAlreadyConfirmed: AugmentedError<ApiType>;
  1081. /**
  1082. * Staking account for membership doesn't exist.
  1083. **/
  1084. StakingAccountDoesntExist: AugmentedError<ApiType>;
  1085. /**
  1086. * Staking account is registered for some member.
  1087. **/
  1088. StakingAccountIsAlreadyRegistered: AugmentedError<ApiType>;
  1089. /**
  1090. * Invalid origin.
  1091. **/
  1092. UnsignedOrigin: AugmentedError<ApiType>;
  1093. /**
  1094. * Cannot invite a member. Working group balance is not sufficient to set the default
  1095. * balance.
  1096. **/
  1097. WorkingGroupBudgetIsNotSufficientForInviting: AugmentedError<ApiType>;
  1098. /**
  1099. * Membership working group leader is not set.
  1100. **/
  1101. WorkingGroupLeaderNotSet: AugmentedError<ApiType>;
  1102. };
  1103. membershipWorkingGroup: {
  1104. /**
  1105. * Trying to fill opening with an application for other opening
  1106. **/
  1107. ApplicationsNotForOpening: AugmentedError<ApiType>;
  1108. /**
  1109. * Application stake is less than required opening stake.
  1110. **/
  1111. ApplicationStakeDoesntMatchOpening: AugmentedError<ApiType>;
  1112. /**
  1113. * Staking less than the lower bound.
  1114. **/
  1115. BelowMinimumStakes: AugmentedError<ApiType>;
  1116. /**
  1117. * Cannot decrease stake - stake delta greater than initial stake.
  1118. **/
  1119. CannotDecreaseStakeDeltaGreaterThanStake: AugmentedError<ApiType>;
  1120. /**
  1121. * There is leader already, cannot hire another one.
  1122. **/
  1123. CannotHireLeaderWhenLeaderExists: AugmentedError<ApiType>;
  1124. /**
  1125. * Cannot fill opening with multiple applications.
  1126. **/
  1127. CannotHireMultipleLeaders: AugmentedError<ApiType>;
  1128. /**
  1129. * Reward could not be zero.
  1130. **/
  1131. CannotRewardWithZero: AugmentedError<ApiType>;
  1132. /**
  1133. * Invalid spending amount.
  1134. **/
  1135. CannotSpendZero: AugmentedError<ApiType>;
  1136. /**
  1137. * Staking account contains conflicting stakes.
  1138. **/
  1139. ConflictStakesOnAccount: AugmentedError<ApiType>;
  1140. /**
  1141. * Current lead is not set.
  1142. **/
  1143. CurrentLeadNotSet: AugmentedError<ApiType>;
  1144. /**
  1145. * Insufficient balance to cover stake.
  1146. **/
  1147. InsufficientBalanceToCoverStake: AugmentedError<ApiType>;
  1148. /**
  1149. * It's not enough budget for this spending.
  1150. **/
  1151. InsufficientBudgetForSpending: AugmentedError<ApiType>;
  1152. /**
  1153. * Invalid origin for a member.
  1154. **/
  1155. InvalidMemberOrigin: AugmentedError<ApiType>;
  1156. /**
  1157. * Staking account doesn't belong to a member.
  1158. **/
  1159. InvalidStakingAccountForMember: AugmentedError<ApiType>;
  1160. /**
  1161. * Not a lead account.
  1162. **/
  1163. IsNotLeadAccount: AugmentedError<ApiType>;
  1164. /**
  1165. * Working group size limit exceeded.
  1166. **/
  1167. MaxActiveWorkerNumberExceeded: AugmentedError<ApiType>;
  1168. /**
  1169. * Cannot fill opening - no applications provided.
  1170. **/
  1171. NoApplicationsProvided: AugmentedError<ApiType>;
  1172. /**
  1173. * Opening does not exist.
  1174. **/
  1175. OpeningDoesNotExist: AugmentedError<ApiType>;
  1176. /**
  1177. * Origin is not applicant.
  1178. **/
  1179. OriginIsNotApplicant: AugmentedError<ApiType>;
  1180. /**
  1181. * Signer is not worker role account.
  1182. **/
  1183. SignerIsNotWorkerRoleAccount: AugmentedError<ApiType>;
  1184. /**
  1185. * Provided stake balance cannot be zero.
  1186. **/
  1187. StakeBalanceCannotBeZero: AugmentedError<ApiType>;
  1188. /**
  1189. * Successful worker application does not exist.
  1190. **/
  1191. SuccessfulWorkerApplicationDoesNotExist: AugmentedError<ApiType>;
  1192. /**
  1193. * Specified unstaking period is less then minimum set for the group.
  1194. **/
  1195. UnstakingPeriodLessThanMinimum: AugmentedError<ApiType>;
  1196. /**
  1197. * Worker application does not exist.
  1198. **/
  1199. WorkerApplicationDoesNotExist: AugmentedError<ApiType>;
  1200. /**
  1201. * Worker does not exist.
  1202. **/
  1203. WorkerDoesNotExist: AugmentedError<ApiType>;
  1204. /**
  1205. * Worker has no recurring reward.
  1206. **/
  1207. WorkerHasNoReward: AugmentedError<ApiType>;
  1208. /**
  1209. * Invalid operation - worker is leaving.
  1210. **/
  1211. WorkerIsLeaving: AugmentedError<ApiType>;
  1212. /**
  1213. * Worker storage text is too long.
  1214. **/
  1215. WorkerStorageValueTooLong: AugmentedError<ApiType>;
  1216. };
  1217. operationsWorkingGroup: {
  1218. /**
  1219. * Trying to fill opening with an application for other opening
  1220. **/
  1221. ApplicationsNotForOpening: AugmentedError<ApiType>;
  1222. /**
  1223. * Application stake is less than required opening stake.
  1224. **/
  1225. ApplicationStakeDoesntMatchOpening: AugmentedError<ApiType>;
  1226. /**
  1227. * Staking less than the lower bound.
  1228. **/
  1229. BelowMinimumStakes: AugmentedError<ApiType>;
  1230. /**
  1231. * Cannot decrease stake - stake delta greater than initial stake.
  1232. **/
  1233. CannotDecreaseStakeDeltaGreaterThanStake: AugmentedError<ApiType>;
  1234. /**
  1235. * There is leader already, cannot hire another one.
  1236. **/
  1237. CannotHireLeaderWhenLeaderExists: AugmentedError<ApiType>;
  1238. /**
  1239. * Cannot fill opening with multiple applications.
  1240. **/
  1241. CannotHireMultipleLeaders: AugmentedError<ApiType>;
  1242. /**
  1243. * Reward could not be zero.
  1244. **/
  1245. CannotRewardWithZero: AugmentedError<ApiType>;
  1246. /**
  1247. * Invalid spending amount.
  1248. **/
  1249. CannotSpendZero: AugmentedError<ApiType>;
  1250. /**
  1251. * Staking account contains conflicting stakes.
  1252. **/
  1253. ConflictStakesOnAccount: AugmentedError<ApiType>;
  1254. /**
  1255. * Current lead is not set.
  1256. **/
  1257. CurrentLeadNotSet: AugmentedError<ApiType>;
  1258. /**
  1259. * Insufficient balance to cover stake.
  1260. **/
  1261. InsufficientBalanceToCoverStake: AugmentedError<ApiType>;
  1262. /**
  1263. * It's not enough budget for this spending.
  1264. **/
  1265. InsufficientBudgetForSpending: AugmentedError<ApiType>;
  1266. /**
  1267. * Invalid origin for a member.
  1268. **/
  1269. InvalidMemberOrigin: AugmentedError<ApiType>;
  1270. /**
  1271. * Staking account doesn't belong to a member.
  1272. **/
  1273. InvalidStakingAccountForMember: AugmentedError<ApiType>;
  1274. /**
  1275. * Not a lead account.
  1276. **/
  1277. IsNotLeadAccount: AugmentedError<ApiType>;
  1278. /**
  1279. * Working group size limit exceeded.
  1280. **/
  1281. MaxActiveWorkerNumberExceeded: AugmentedError<ApiType>;
  1282. /**
  1283. * Cannot fill opening - no applications provided.
  1284. **/
  1285. NoApplicationsProvided: AugmentedError<ApiType>;
  1286. /**
  1287. * Opening does not exist.
  1288. **/
  1289. OpeningDoesNotExist: AugmentedError<ApiType>;
  1290. /**
  1291. * Origin is not applicant.
  1292. **/
  1293. OriginIsNotApplicant: AugmentedError<ApiType>;
  1294. /**
  1295. * Signer is not worker role account.
  1296. **/
  1297. SignerIsNotWorkerRoleAccount: AugmentedError<ApiType>;
  1298. /**
  1299. * Provided stake balance cannot be zero.
  1300. **/
  1301. StakeBalanceCannotBeZero: AugmentedError<ApiType>;
  1302. /**
  1303. * Successful worker application does not exist.
  1304. **/
  1305. SuccessfulWorkerApplicationDoesNotExist: AugmentedError<ApiType>;
  1306. /**
  1307. * Specified unstaking period is less then minimum set for the group.
  1308. **/
  1309. UnstakingPeriodLessThanMinimum: AugmentedError<ApiType>;
  1310. /**
  1311. * Worker application does not exist.
  1312. **/
  1313. WorkerApplicationDoesNotExist: AugmentedError<ApiType>;
  1314. /**
  1315. * Worker does not exist.
  1316. **/
  1317. WorkerDoesNotExist: AugmentedError<ApiType>;
  1318. /**
  1319. * Worker has no recurring reward.
  1320. **/
  1321. WorkerHasNoReward: AugmentedError<ApiType>;
  1322. /**
  1323. * Invalid operation - worker is leaving.
  1324. **/
  1325. WorkerIsLeaving: AugmentedError<ApiType>;
  1326. /**
  1327. * Worker storage text is too long.
  1328. **/
  1329. WorkerStorageValueTooLong: AugmentedError<ApiType>;
  1330. };
  1331. proposalsCodex: {
  1332. /**
  1333. * Invalid 'decrease stake proposal' parameter - cannot decrease by zero balance.
  1334. **/
  1335. DecreasingStakeIsZero: AugmentedError<ApiType>;
  1336. /**
  1337. * Insufficient funds for 'Update Working Group Budget' proposal execution
  1338. **/
  1339. InsufficientFundsForBudgetUpdate: AugmentedError<ApiType>;
  1340. /**
  1341. * Invalid council election parameter - announcing_period
  1342. **/
  1343. InvalidCouncilElectionParameterAnnouncingPeriod: AugmentedError<ApiType>;
  1344. /**
  1345. * Invalid council election parameter - candidacy-limit
  1346. **/
  1347. InvalidCouncilElectionParameterCandidacyLimit: AugmentedError<ApiType>;
  1348. /**
  1349. * Invalid council election parameter - council_size
  1350. **/
  1351. InvalidCouncilElectionParameterCouncilSize: AugmentedError<ApiType>;
  1352. /**
  1353. * Invalid council election parameter - min_council_stake
  1354. **/
  1355. InvalidCouncilElectionParameterMinCouncilStake: AugmentedError<ApiType>;
  1356. /**
  1357. * Invalid council election parameter - min-voting_stake
  1358. **/
  1359. InvalidCouncilElectionParameterMinVotingStake: AugmentedError<ApiType>;
  1360. /**
  1361. * Invalid council election parameter - new_term_duration
  1362. **/
  1363. InvalidCouncilElectionParameterNewTermDuration: AugmentedError<ApiType>;
  1364. /**
  1365. * Invalid council election parameter - revealing_period
  1366. **/
  1367. InvalidCouncilElectionParameterRevealingPeriod: AugmentedError<ApiType>;
  1368. /**
  1369. * Invalid council election parameter - voting_period
  1370. **/
  1371. InvalidCouncilElectionParameterVotingPeriod: AugmentedError<ApiType>;
  1372. /**
  1373. * Invalid balance value for the spending proposal
  1374. **/
  1375. InvalidFundingRequestProposalBalance: AugmentedError<ApiType>;
  1376. /**
  1377. * Invalid number of accounts recieving funding request for 'Funding Request' proposal.
  1378. **/
  1379. InvalidFundingRequestProposalNumberOfAccount: AugmentedError<ApiType>;
  1380. /**
  1381. * Repeated account in 'Funding Request' proposal.
  1382. **/
  1383. InvalidFundingRequestProposalRepeatedAccount: AugmentedError<ApiType>;
  1384. /**
  1385. * Invalid 'set lead proposal' parameter - proposed lead cannot be a councilor
  1386. **/
  1387. InvalidSetLeadParameterCannotBeCouncilor: AugmentedError<ApiType>;
  1388. /**
  1389. * Invalid validator count for the 'set validator count' proposal
  1390. **/
  1391. InvalidValidatorCount: AugmentedError<ApiType>;
  1392. /**
  1393. * Invalid working group budget capacity parameter
  1394. **/
  1395. InvalidWorkingGroupBudgetCapacity: AugmentedError<ApiType>;
  1396. /**
  1397. * Require root origin in extrinsics
  1398. **/
  1399. RequireRootOrigin: AugmentedError<ApiType>;
  1400. /**
  1401. * Provided WASM code for the runtime upgrade proposal is empty
  1402. **/
  1403. RuntimeProposalIsEmpty: AugmentedError<ApiType>;
  1404. /**
  1405. * Provided text for text proposal is empty
  1406. **/
  1407. SignalProposalIsEmpty: AugmentedError<ApiType>;
  1408. /**
  1409. * Invalid 'slash stake proposal' parameter - cannot slash by zero balance.
  1410. **/
  1411. SlashingStakeIsZero: AugmentedError<ApiType>;
  1412. };
  1413. proposalsDiscussion: {
  1414. /**
  1415. * Account can't delete post at the moment
  1416. **/
  1417. CannotDeletePost: AugmentedError<ApiType>;
  1418. /**
  1419. * The thread has Closed mode. And post author doesn't belong to council or allowed members.
  1420. **/
  1421. CannotPostOnClosedThread: AugmentedError<ApiType>;
  1422. /**
  1423. * Account has insufficient balance to create a post
  1424. **/
  1425. InsufficientBalanceForPost: AugmentedError<ApiType>;
  1426. /**
  1427. * Max allowed authors list limit exceeded.
  1428. **/
  1429. MaxWhiteListSizeExceeded: AugmentedError<ApiType>;
  1430. /**
  1431. * Should be thread author or councilor.
  1432. **/
  1433. NotAuthorOrCouncilor: AugmentedError<ApiType>;
  1434. /**
  1435. * Post doesn't exist
  1436. **/
  1437. PostDoesntExist: AugmentedError<ApiType>;
  1438. /**
  1439. * Require root origin in extrinsics
  1440. **/
  1441. RequireRootOrigin: AugmentedError<ApiType>;
  1442. /**
  1443. * Thread doesn't exist
  1444. **/
  1445. ThreadDoesntExist: AugmentedError<ApiType>;
  1446. };
  1447. proposalsEngine: {
  1448. /**
  1449. * The proposal have been already voted on
  1450. **/
  1451. AlreadyVoted: AugmentedError<ApiType>;
  1452. /**
  1453. * The conflicting stake discovered. Cannot stake.
  1454. **/
  1455. ConflictingStakes: AugmentedError<ApiType>;
  1456. /**
  1457. * Description is too long
  1458. **/
  1459. DescriptionIsTooLong: AugmentedError<ApiType>;
  1460. /**
  1461. * Proposal cannot have an empty body
  1462. **/
  1463. EmptyDescriptionProvided: AugmentedError<ApiType>;
  1464. /**
  1465. * Stake cannot be empty with this proposal
  1466. **/
  1467. EmptyStake: AugmentedError<ApiType>;
  1468. /**
  1469. * Proposal cannot have an empty title"
  1470. **/
  1471. EmptyTitleProvided: AugmentedError<ApiType>;
  1472. /**
  1473. * There is not enough balance for a stake.
  1474. **/
  1475. InsufficientBalanceForStake: AugmentedError<ApiType>;
  1476. /**
  1477. * Exact execution block cannot be less than current_block.
  1478. **/
  1479. InvalidExactExecutionBlock: AugmentedError<ApiType>;
  1480. /**
  1481. * Approval threshold cannot be zero
  1482. **/
  1483. InvalidParameterApprovalThreshold: AugmentedError<ApiType>;
  1484. /**
  1485. * Slashing threshold cannot be zero
  1486. **/
  1487. InvalidParameterSlashingThreshold: AugmentedError<ApiType>;
  1488. /**
  1489. * Staking account doesn't belong to a member.
  1490. **/
  1491. InvalidStakingAccountForMember: AugmentedError<ApiType>;
  1492. /**
  1493. * Max active proposals number exceeded
  1494. **/
  1495. MaxActiveProposalNumberExceeded: AugmentedError<ApiType>;
  1496. /**
  1497. * Not an author
  1498. **/
  1499. NotAuthor: AugmentedError<ApiType>;
  1500. /**
  1501. * Proposal is finalized already
  1502. **/
  1503. ProposalFinalized: AugmentedError<ApiType>;
  1504. /**
  1505. * Disallow to cancel the proposal if there are any votes on it.
  1506. **/
  1507. ProposalHasVotes: AugmentedError<ApiType>;
  1508. /**
  1509. * The proposal does not exist
  1510. **/
  1511. ProposalNotFound: AugmentedError<ApiType>;
  1512. /**
  1513. * Require root origin in extrinsics
  1514. **/
  1515. RequireRootOrigin: AugmentedError<ApiType>;
  1516. /**
  1517. * Stake differs from the proposal requirements
  1518. **/
  1519. StakeDiffersFromRequired: AugmentedError<ApiType>;
  1520. /**
  1521. * Stake should be empty for this proposal
  1522. **/
  1523. StakeShouldBeEmpty: AugmentedError<ApiType>;
  1524. /**
  1525. * Title is too long
  1526. **/
  1527. TitleIsTooLong: AugmentedError<ApiType>;
  1528. /**
  1529. * Exact execution block cannot be zero.
  1530. **/
  1531. ZeroExactExecutionBlock: AugmentedError<ApiType>;
  1532. };
  1533. referendum: {
  1534. /**
  1535. * Trying to vote multiple time in the same cycle
  1536. **/
  1537. AlreadyVotedThisCycle: AugmentedError<ApiType>;
  1538. /**
  1539. * Origin is invalid
  1540. **/
  1541. BadOrigin: AugmentedError<ApiType>;
  1542. /**
  1543. * Staking account contains conflicting stakes.
  1544. **/
  1545. ConflictStakesOnAccount: AugmentedError<ApiType>;
  1546. /**
  1547. * Account Insufficient Free Balance (now)
  1548. **/
  1549. InsufficientBalanceToStake: AugmentedError<ApiType>;
  1550. /**
  1551. * Insufficient stake provided to cast a vote
  1552. **/
  1553. InsufficientStake: AugmentedError<ApiType>;
  1554. /**
  1555. * Salt and referendum option provided don't correspond to the commitment
  1556. **/
  1557. InvalidReveal: AugmentedError<ApiType>;
  1558. /**
  1559. * Vote for not existing option was revealed
  1560. **/
  1561. InvalidVote: AugmentedError<ApiType>;
  1562. /**
  1563. * Referendum is not running when expected to
  1564. **/
  1565. ReferendumNotRunning: AugmentedError<ApiType>;
  1566. /**
  1567. * Revealing stage is not in progress right now
  1568. **/
  1569. RevealingNotInProgress: AugmentedError<ApiType>;
  1570. /**
  1571. * Salt is too long
  1572. **/
  1573. SaltTooLong: AugmentedError<ApiType>;
  1574. /**
  1575. * Unstaking has been forbidden for the user (at least for now)
  1576. **/
  1577. UnstakingForbidden: AugmentedError<ApiType>;
  1578. /**
  1579. * Invalid time to release the locked stake
  1580. **/
  1581. UnstakingVoteInSameCycle: AugmentedError<ApiType>;
  1582. /**
  1583. * Trying to reveal vote that was not cast
  1584. **/
  1585. VoteNotExisting: AugmentedError<ApiType>;
  1586. };
  1587. session: {
  1588. /**
  1589. * Registered duplicate key.
  1590. **/
  1591. DuplicatedKey: AugmentedError<ApiType>;
  1592. /**
  1593. * Invalid ownership proof.
  1594. **/
  1595. InvalidProof: AugmentedError<ApiType>;
  1596. /**
  1597. * No associated validator ID for account.
  1598. **/
  1599. NoAssociatedValidatorId: AugmentedError<ApiType>;
  1600. /**
  1601. * No keys are associated with this account.
  1602. **/
  1603. NoKeys: AugmentedError<ApiType>;
  1604. };
  1605. staking: {
  1606. /**
  1607. * Stash is already bonded.
  1608. **/
  1609. AlreadyBonded: AugmentedError<ApiType>;
  1610. /**
  1611. * Rewards for this era have already been claimed for this validator.
  1612. **/
  1613. AlreadyClaimed: AugmentedError<ApiType>;
  1614. /**
  1615. * Controller is already paired.
  1616. **/
  1617. AlreadyPaired: AugmentedError<ApiType>;
  1618. /**
  1619. * The call is not allowed at the given time due to restrictions of election period.
  1620. **/
  1621. CallNotAllowed: AugmentedError<ApiType>;
  1622. /**
  1623. * Duplicate index.
  1624. **/
  1625. DuplicateIndex: AugmentedError<ApiType>;
  1626. /**
  1627. * Targets cannot be empty.
  1628. **/
  1629. EmptyTargets: AugmentedError<ApiType>;
  1630. /**
  1631. * Attempting to target a stash that still has funds.
  1632. **/
  1633. FundedTarget: AugmentedError<ApiType>;
  1634. /**
  1635. * Incorrect previous history depth input provided.
  1636. **/
  1637. IncorrectHistoryDepth: AugmentedError<ApiType>;
  1638. /**
  1639. * Incorrect number of slashing spans provided.
  1640. **/
  1641. IncorrectSlashingSpans: AugmentedError<ApiType>;
  1642. /**
  1643. * Can not bond with value less than minimum balance.
  1644. **/
  1645. InsufficientValue: AugmentedError<ApiType>;
  1646. /**
  1647. * Invalid era to reward.
  1648. **/
  1649. InvalidEraToReward: AugmentedError<ApiType>;
  1650. /**
  1651. * Invalid number of nominations.
  1652. **/
  1653. InvalidNumberOfNominations: AugmentedError<ApiType>;
  1654. /**
  1655. * Slash record index out of bounds.
  1656. **/
  1657. InvalidSlashIndex: AugmentedError<ApiType>;
  1658. /**
  1659. * Can not schedule more unlock chunks.
  1660. **/
  1661. NoMoreChunks: AugmentedError<ApiType>;
  1662. /**
  1663. * Not a controller account.
  1664. **/
  1665. NotController: AugmentedError<ApiType>;
  1666. /**
  1667. * Items are not sorted and unique.
  1668. **/
  1669. NotSortedAndUnique: AugmentedError<ApiType>;
  1670. /**
  1671. * Not a stash account.
  1672. **/
  1673. NotStash: AugmentedError<ApiType>;
  1674. /**
  1675. * Can not rebond without unlocking chunks.
  1676. **/
  1677. NoUnlockChunk: AugmentedError<ApiType>;
  1678. /**
  1679. * Error while building the assignment type from the compact. This can happen if an index
  1680. * is invalid, or if the weights _overflow_.
  1681. **/
  1682. OffchainElectionBogusCompact: AugmentedError<ApiType>;
  1683. /**
  1684. * The submitted result has unknown edges that are not among the presented winners.
  1685. **/
  1686. OffchainElectionBogusEdge: AugmentedError<ApiType>;
  1687. /**
  1688. * The election size is invalid.
  1689. **/
  1690. OffchainElectionBogusElectionSize: AugmentedError<ApiType>;
  1691. /**
  1692. * One of the submitted nominators has an edge to which they have not voted on chain.
  1693. **/
  1694. OffchainElectionBogusNomination: AugmentedError<ApiType>;
  1695. /**
  1696. * One of the submitted nominators is not an active nominator on chain.
  1697. **/
  1698. OffchainElectionBogusNominator: AugmentedError<ApiType>;
  1699. /**
  1700. * The claimed score does not match with the one computed from the data.
  1701. **/
  1702. OffchainElectionBogusScore: AugmentedError<ApiType>;
  1703. /**
  1704. * A self vote must only be originated from a validator to ONLY themselves.
  1705. **/
  1706. OffchainElectionBogusSelfVote: AugmentedError<ApiType>;
  1707. /**
  1708. * One of the submitted winners is not an active candidate on chain (index is out of range
  1709. * in snapshot).
  1710. **/
  1711. OffchainElectionBogusWinner: AugmentedError<ApiType>;
  1712. /**
  1713. * Incorrect number of winners were presented.
  1714. **/
  1715. OffchainElectionBogusWinnerCount: AugmentedError<ApiType>;
  1716. /**
  1717. * The submitted result is received out of the open window.
  1718. **/
  1719. OffchainElectionEarlySubmission: AugmentedError<ApiType>;
  1720. /**
  1721. * One of the submitted nominators has an edge which is submitted before the last non-zero
  1722. * slash of the target.
  1723. **/
  1724. OffchainElectionSlashedNomination: AugmentedError<ApiType>;
  1725. /**
  1726. * The submitted result is not as good as the one stored on chain.
  1727. **/
  1728. OffchainElectionWeakSubmission: AugmentedError<ApiType>;
  1729. /**
  1730. * The snapshot data of the current window is missing.
  1731. **/
  1732. SnapshotUnavailable: AugmentedError<ApiType>;
  1733. };
  1734. storageWorkingGroup: {
  1735. /**
  1736. * Trying to fill opening with an application for other opening
  1737. **/
  1738. ApplicationsNotForOpening: AugmentedError<ApiType>;
  1739. /**
  1740. * Application stake is less than required opening stake.
  1741. **/
  1742. ApplicationStakeDoesntMatchOpening: AugmentedError<ApiType>;
  1743. /**
  1744. * Staking less than the lower bound.
  1745. **/
  1746. BelowMinimumStakes: AugmentedError<ApiType>;
  1747. /**
  1748. * Cannot decrease stake - stake delta greater than initial stake.
  1749. **/
  1750. CannotDecreaseStakeDeltaGreaterThanStake: AugmentedError<ApiType>;
  1751. /**
  1752. * There is leader already, cannot hire another one.
  1753. **/
  1754. CannotHireLeaderWhenLeaderExists: AugmentedError<ApiType>;
  1755. /**
  1756. * Cannot fill opening with multiple applications.
  1757. **/
  1758. CannotHireMultipleLeaders: AugmentedError<ApiType>;
  1759. /**
  1760. * Reward could not be zero.
  1761. **/
  1762. CannotRewardWithZero: AugmentedError<ApiType>;
  1763. /**
  1764. * Invalid spending amount.
  1765. **/
  1766. CannotSpendZero: AugmentedError<ApiType>;
  1767. /**
  1768. * Staking account contains conflicting stakes.
  1769. **/
  1770. ConflictStakesOnAccount: AugmentedError<ApiType>;
  1771. /**
  1772. * Current lead is not set.
  1773. **/
  1774. CurrentLeadNotSet: AugmentedError<ApiType>;
  1775. /**
  1776. * Insufficient balance to cover stake.
  1777. **/
  1778. InsufficientBalanceToCoverStake: AugmentedError<ApiType>;
  1779. /**
  1780. * It's not enough budget for this spending.
  1781. **/
  1782. InsufficientBudgetForSpending: AugmentedError<ApiType>;
  1783. /**
  1784. * Invalid origin for a member.
  1785. **/
  1786. InvalidMemberOrigin: AugmentedError<ApiType>;
  1787. /**
  1788. * Staking account doesn't belong to a member.
  1789. **/
  1790. InvalidStakingAccountForMember: AugmentedError<ApiType>;
  1791. /**
  1792. * Not a lead account.
  1793. **/
  1794. IsNotLeadAccount: AugmentedError<ApiType>;
  1795. /**
  1796. * Working group size limit exceeded.
  1797. **/
  1798. MaxActiveWorkerNumberExceeded: AugmentedError<ApiType>;
  1799. /**
  1800. * Cannot fill opening - no applications provided.
  1801. **/
  1802. NoApplicationsProvided: AugmentedError<ApiType>;
  1803. /**
  1804. * Opening does not exist.
  1805. **/
  1806. OpeningDoesNotExist: AugmentedError<ApiType>;
  1807. /**
  1808. * Origin is not applicant.
  1809. **/
  1810. OriginIsNotApplicant: AugmentedError<ApiType>;
  1811. /**
  1812. * Signer is not worker role account.
  1813. **/
  1814. SignerIsNotWorkerRoleAccount: AugmentedError<ApiType>;
  1815. /**
  1816. * Provided stake balance cannot be zero.
  1817. **/
  1818. StakeBalanceCannotBeZero: AugmentedError<ApiType>;
  1819. /**
  1820. * Successful worker application does not exist.
  1821. **/
  1822. SuccessfulWorkerApplicationDoesNotExist: AugmentedError<ApiType>;
  1823. /**
  1824. * Specified unstaking period is less then minimum set for the group.
  1825. **/
  1826. UnstakingPeriodLessThanMinimum: AugmentedError<ApiType>;
  1827. /**
  1828. * Worker application does not exist.
  1829. **/
  1830. WorkerApplicationDoesNotExist: AugmentedError<ApiType>;
  1831. /**
  1832. * Worker does not exist.
  1833. **/
  1834. WorkerDoesNotExist: AugmentedError<ApiType>;
  1835. /**
  1836. * Worker has no recurring reward.
  1837. **/
  1838. WorkerHasNoReward: AugmentedError<ApiType>;
  1839. /**
  1840. * Invalid operation - worker is leaving.
  1841. **/
  1842. WorkerIsLeaving: AugmentedError<ApiType>;
  1843. /**
  1844. * Worker storage text is too long.
  1845. **/
  1846. WorkerStorageValueTooLong: AugmentedError<ApiType>;
  1847. };
  1848. sudo: {
  1849. /**
  1850. * Sender must be the Sudo account
  1851. **/
  1852. RequireSudo: AugmentedError<ApiType>;
  1853. };
  1854. system: {
  1855. /**
  1856. * Failed to extract the runtime version from the new runtime.
  1857. *
  1858. * Either calling `Core_version` or decoding `RuntimeVersion` failed.
  1859. **/
  1860. FailedToExtractRuntimeVersion: AugmentedError<ApiType>;
  1861. /**
  1862. * The name of specification does not match between the current runtime
  1863. * and the new runtime.
  1864. **/
  1865. InvalidSpecName: AugmentedError<ApiType>;
  1866. /**
  1867. * Suicide called when the account has non-default composite data.
  1868. **/
  1869. NonDefaultComposite: AugmentedError<ApiType>;
  1870. /**
  1871. * There is a non-zero reference count preventing the account from being purged.
  1872. **/
  1873. NonZeroRefCount: AugmentedError<ApiType>;
  1874. /**
  1875. * The specification version is not allowed to decrease between the current runtime
  1876. * and the new runtime.
  1877. **/
  1878. SpecVersionNeedsToIncrease: AugmentedError<ApiType>;
  1879. };
  1880. }
  1881. export interface DecoratedErrors<ApiType extends ApiTypes> extends AugmentedErrors<ApiType> {
  1882. }
  1883. }