Skip to content
Snippets Groups Projects
Unverified Commit fff2bc79 authored by bgallois's avatar bgallois
Browse files

refactor events and errors pallet-distance

parent b3a2abaa
No related branches found
No related tags found
No related merge requests found
Pipeline #34573 failed
This commit is part of merge request !200. Comments created here will be created in the context of that merge request.
......@@ -165,15 +165,21 @@ pub mod pallet {
#[pallet::error]
pub enum Error<T> {
/// Distance already in evaluation for caller.
AlreadyInEvaluation,
CannotReserve,
/// Too many evaluation requests for this author.
ManyEvaluationsByAuthor,
/// Too many evaluations for this block.
ManyEvaluationsInBlock,
/// No author for this block.
NoAuthor,
/// Caller has no identity.
NoIdentity,
NonEligibleForEvaluation,
/// Evaluation queue is full.
QueueFull,
/// Too many evaluators in the current evaluation pool.
TooManyEvaluators,
/// Evaluation result has a wrong length.
WrongResultLength,
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment