use crate::error::{Error, ErrorKind, reason};
impl From<zmq::Error> for Error {
#[track_caller]
fn from(value: zmq::Error) -> Self {
Error::new(ErrorKind::Reason(reason::API_ZmqFailed))
.with_description(format!("{value}"))
.with_source(Box::new(value))
}
}