rialo-validator-registry-interface 0.3.0

Instructions and constructors for a registry containing validator identities
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright (c) Subzero Labs, Inc.
// SPDX-License-Identifier: Apache-2.0

use thiserror::Error;

/// The error type for conversion of `ValidatorInfo` to `Authority`.
#[derive(Debug, Error)]
pub enum ValidatorInfoError {
    #[error("Failed to deserialize {field}: {source}")]
    Deserialize {
        field: String,
        source: Box<dyn std::error::Error + Sync + Send>,
    },
}