//! Convenience macros for working with errors and other common patterns.
/// Convenience macro to create a [`crate::VctrlError::Other`] with a formatted message.
///
/// This macro accepts a **format string literal** and arguments, just like `format!`.
/// It does **not** accept an already‑computed `String`; use `VctrlError::Other(…)`
/// directly for that case.
///
/// # Example
/// ```rust
/// # use libvctrl_handler::*;
/// let err = vctrl_error_other!("something went wrong: {}", 42);
/// assert_eq!(err.to_string(), "something went wrong: 42");
/// ```