async-payjp-types 0.0.1

Payjp SDK based on arlyon/async-stripe
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use std::fmt::{Display, Formatter};

/// Error representing a failure to parse a enum
#[derive(Debug)]
pub struct ParseError;

impl Display for ParseError {
    fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result {
        f.write_str("unrecognized enum variant")
    }
}

impl std::error::Error for ParseError {}