diff --git a/pallets/distance/src/lib.rs b/pallets/distance/src/lib.rs index d467368e64279f860adddb0563c16f092a143854..0500c6df76d02676d43e349d57789c0f8ce67dfe 100644 --- a/pallets/distance/src/lib.rs +++ b/pallets/distance/src/lib.rs @@ -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, }