1 2 3 4 5 6 7 8 9
use crate::api::ApiProblem; pub use anyhow::{anyhow, bail, Context, Error, Result}; pub use log::{debug, trace}; impl From<ApiProblem> for Error { fn from(x: ApiProblem) -> Error { anyhow!("{}", x) } }