// Copyright (c) Subzero Labs, Inc.
// SPDX-License-Identifier: Apache-2.0
usethiserror::Error;/// The error type for conversion of `ValidatorInfo` to `Authority`.
#[derive(Debug, Error)]pubenumValidatorInfoError{#[error("Failed to deserialize {field}: {source}")]
Deserialize {
field:String,
source:Box<dyn std::error::Error +Sync+Send>,},}