polars_error

Macro polars_err

Source
macro_rules! polars_err {
    ($variant:ident: $fmt:literal $(, $arg:expr)* $(,)?) => { ... };
    ($variant:ident: $err:expr $(,)?) => { ... };
    (expr = $expr:expr, $variant:ident: $err:expr $(,)?) => { ... };
    (expr = $expr:expr, $variant:ident: $fmt:literal, $($arg:tt)+) => { ... };
    (op = $op:expr, got = $arg:expr, expected = $expected:expr) => { ... };
    (opq = $op:ident, got = $arg:expr, expected = $expected:expr) => { ... };
    (un_impl = $op:ident) => { ... };
    (op = $op:expr, $arg:expr) => { ... };
    (op = $op:expr, $arg:expr, hint = $hint:literal) => { ... };
    (op = $op:expr, $lhs:expr, $rhs:expr) => { ... };
    (oos = $($tt:tt)+) => { ... };
    (nyi = $($tt:tt)+) => { ... };
    (opq = $op:ident, $arg:expr) => { ... };
    (opq = $op:ident, $lhs:expr, $rhs:expr) => { ... };
    (append) => { ... };
    (extend) => { ... };
    (unpack) => { ... };
    (not_in_enum,value=$value:expr,categories=$categories:expr) => { ... };
    (string_cache_mismatch) => { ... };
    (duplicate = $name:expr) => { ... };
    (col_not_found = $name:expr) => { ... };
    (oob = $idx:expr, $len:expr) => { ... };
    (agg_len = $agg_len:expr, $groups_len:expr) => { ... };
    (parse_fmt_idk = $dtype:expr) => { ... };
}