@@ -104,14 +104,13 @@ impl ErrorWithCode for BasicError {
104104 Self :: NonContiguousContractTokenPositionsError ( _) => 10253 ,
105105
106106 // Group Errors: 10350-10399
107- Self :: InvalidGroupPositionError ( _) => 10350 ,
108- Self :: GroupPositionDoesNotExistError ( _) => 10351 ,
109- Self :: GroupActionNotAllowedOnTransitionError ( _) => 10352 ,
110- Self :: GroupTotalPowerLessThanRequiredError ( _) => 10353 ,
111- Self :: GroupNonUnilateralMemberPowerHasLessThanRequiredPowerError ( _) => 10354 ,
112- Self :: GroupExceedsMaxMembersError ( _) => 10355 ,
113- Self :: GroupMemberHasPowerOfZeroError ( _) => 10356 ,
114- Self :: GroupMemberHasPowerOverLimitError ( _) => 10357 ,
107+ Self :: GroupPositionDoesNotExistError ( _) => 10350 ,
108+ Self :: GroupActionNotAllowedOnTransitionError ( _) => 10351 ,
109+ Self :: GroupTotalPowerLessThanRequiredError ( _) => 10352 ,
110+ Self :: GroupNonUnilateralMemberPowerHasLessThanRequiredPowerError ( _) => 10353 ,
111+ Self :: GroupExceedsMaxMembersError ( _) => 10354 ,
112+ Self :: GroupMemberHasPowerOfZeroError ( _) => 10355 ,
113+ Self :: GroupMemberHasPowerOverLimitError ( _) => 10356 ,
115114
116115 // Document Errors: 10400-10449
117116 Self :: DataContractNotPresentError { .. } => 10400 ,
@@ -248,6 +247,13 @@ impl ErrorWithCode for StateError {
248247 Self :: UnauthorizedTokenActionError ( _) => 40151 ,
249248 Self :: IdentityTokenAccountFrozenError ( _) => 40152 ,
250249 Self :: IdentityTokenAccountNotFrozenError ( _) => 40153 ,
250+ Self :: TokenSettingMaxSupplyToLessThanCurrentSupplyError ( _) => 40154 ,
251+ Self :: TokenMintPastMaxSupplyError ( _) => 40155 ,
252+ Self :: NewTokensDestinationIdentityDoesNotExistError ( _) => 40156 ,
253+ Self :: NewAuthorizedActionTakerIdentityDoesNotExistError ( _) => 40157 ,
254+ Self :: NewAuthorizedActionTakerGroupDoesNotExistError ( _) => 40158 ,
255+ Self :: NewAuthorizedActionTakerMainGroupNotSetError ( _) => 40159 ,
256+ Self :: InvalidGroupPositionError ( _) => 40160 ,
251257
252258 // Identity Errors: 40200-40299
253259 Self :: IdentityAlreadyExistsError ( _) => 40200 ,
0 commit comments