hedera 0.3.0

Hedera SDK for Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use crate::PreCheckCode;
use failure_derive::Fail;

#[derive(Debug, Fail)]
pub enum ErrorKind {
    #[fail(display = "missing required field: `{}`", _0)]
    MissingField(&'static str),

    #[fail(display = "expected string of the format: {:?}", _0)]
    Parse(&'static str),

    #[fail(display = "transaction failed the pre-check: {:?}", _0)]
    PreCheck(PreCheckCode),
}