Sha256: db5fe8440d68315fd42b25dd2c44e9bd6effb74ef53862b26387620e4777a605
Contents?: true
Size: 359 Bytes
Versions: 115
Compression:
Stored size: 359 Bytes
Contents
#[macro_export] macro_rules! err { (with_errno: $err_t:expr, $($arg:expr),*) => { { let err = format!($($arg),*); let strerror = strerror(errno()); Error::new($err_t, format!("{err} ({strerror})")) } }; ($err_t:expr, $($arg:expr),*) => { Error::new($err_t, format!($($arg),*)) }; }
Version data entries
115 entries across 115 versions & 2 rubygems