use std::{borrow::Cow, fmt::Debug};
use thiserror::Error;
#[derive(Debug, Error)]
pub enum Error {
#[error("Internal error: {0}")]
Internal(Cow<'static, str>),
}
#[cfg(test)]
const _: () = {
const fn assert_send_sync<T: Send + Sync>() {}
assert_send_sync::<Error>();
};
pub type Result<T, E = Error> = std::result::Result<T, E>;