1 2 3 4 5 6 7 8 9
use opennode::error::RequestError; #[derive(Debug)] pub enum Error { /// An error reported by Opennode in the response body. Opennode(RequestError), /// A networking error communicating with the Opennode server. Http(reqwest::Error), }