Skip to content
This repository was archived by the owner on Mar 11, 2025. It is now read-only.

Commit 4f648f9

Browse files
authored
Governance: add comment labels for error.rs (#4030)
1 parent f013deb commit 4f648f9

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

governance/program/src/error.rs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -137,31 +137,31 @@ pub enum GovernanceError {
137137

138138
/// Invalid State: Can't vote
139139
#[error("Invalid State: Can't vote")]
140-
InvalidStateCannotVote,
140+
InvalidStateCannotVote, // 531
141141

142142
/// Invalid State: Can't finalize vote
143143
#[error("Invalid State: Can't finalize vote")]
144-
InvalidStateCannotFinalize,
144+
InvalidStateCannotFinalize, // 532
145145

146146
/// Invalid State: Can't cancel Proposal
147147
#[error("Invalid State: Can't cancel Proposal")]
148-
InvalidStateCannotCancelProposal,
148+
InvalidStateCannotCancelProposal, // 533
149149

150150
/// Vote already relinquished
151151
#[error("Vote already relinquished")]
152-
VoteAlreadyRelinquished,
152+
VoteAlreadyRelinquished, // 534
153153

154154
/// Can't finalize vote. Voting still in progress
155155
#[error("Can't finalize vote. Voting still in progress")]
156-
CannotFinalizeVotingInProgress,
156+
CannotFinalizeVotingInProgress, // 535
157157

158158
/// Proposal voting time expired
159159
#[error("Proposal voting time expired")]
160-
ProposalVotingTimeExpired,
160+
ProposalVotingTimeExpired, // 536
161161

162162
/// Invalid Signatory Mint
163163
#[error("Invalid Signatory Mint")]
164-
InvalidSignatoryMint,
164+
InvalidSignatoryMint, // 537
165165

166166
/// Proposal does not belong to the given Governance
167167
#[error("Proposal does not belong to the given Governance")]

0 commit comments

Comments
 (0)