Macro pyo3_macros_backend::utils::bail_spanned

source ·
macro_rules! bail_spanned {
    ($span:expr => $msg:expr) => { ... };
}
Expand description

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

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