r-polars
r-polars copied to clipboard
Refactor errors in Rust?
I think we should also review the various error types here:
https://github.com/pola-rs/r-polars/blob/6827afca398088c5cb1671d3ae4ce17a8b151379/src/rust/src/rpolarserr.rs#L9-L36
Currently we use BadVal
for wrong inputs, but I don't understand the difference between BadVal
, MisValued
and NotAChoice
Related to #954