parse_blogger_backup_xml/
errors.rs1use std::fmt::Debug;
2
3pub type BtError = Box<dyn std::error::Error>;
4pub type BtResult<T> = Result<T, BtError>;
5pub type EmptyResult = Result<(), BtError>;
6
7pub fn errstr<T: Debug>(message: &str, error: T) -> String {
8 format!("{} Error is `{:?}`", message, error)
9}