nym-cli-commands 1.20.4

Common commands crate used by the nym-cli tool for interacting with the Nyx Cosmos SDK blockchain and Mixnet endpoints
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Copyright 2022 - Nym Technologies SA <contact@nymtech.net>
// SPDX-License-Identifier: Apache-2.0

use thiserror::Error;

#[derive(Error, Debug)]
pub enum Errors {
    #[error("account id does not match")]
    AccountIdError,

    #[error("signature error - {0}")]
    SignatureError(#[from] k256::ecdsa::signature::Error),

    #[error(transparent)]
    CosmrsError(#[from] cosmrs::ErrorReport),
}