r-polars icon indicating copy to clipboard operation
r-polars copied to clipboard

Refactor errors in Rust?

Open etiennebacher opened this issue 11 months ago • 0 comments

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

etiennebacher avatar Mar 21 '24 11:03 etiennebacher