pyo3_macros_backend::utils

Macro err_spanned

Source
macro_rules! err_spanned {
    ($span:expr => $msg:expr) => { ... };
}
Expand description

Macro inspired by anyhow::anyhow! to create a compiler error with the given span.

⚠️ Internal Docs ⚠️ Not Public API 👉 Official Docs Here