mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 19:11:02 +00:00
error variant for failed deadline compute in validation worker (#383)
* error variant for failed deadline compute * fix compilation
This commit is contained in:
committed by
André Silva
parent
e6fb85a203
commit
742730c865
@@ -45,6 +45,8 @@ pub enum Error {
|
||||
/// Timer failed
|
||||
#[display(fmt = "Timer failed: {}", _0)]
|
||||
Timer(std::io::Error),
|
||||
#[display(fmt = "Failed to compute deadline of now + {:?}", _0)]
|
||||
DeadlineComputeFailure(std::time::Duration),
|
||||
/// Unable to dispatch agreement future
|
||||
#[display(fmt = "Unable to dispatch agreement future: {:?}", _0)]
|
||||
Executor(futures::future::ExecuteErrorKind),
|
||||
|
||||
Reference in New Issue
Block a user