oasysai / oasysdb

Hybrid vector database with flexible SQL storage engine & multi-index support.
https://docs.oasysdb.com/
Apache License 2.0
357 stars 12 forks source link

FEAT: error interoperability with anyhow #68

Closed edwinkys closed 6 months ago

edwinkys commented 6 months ago

Use case

When users are using anyhow crate to handle error on their Rust project, there is no straight-forward solution to cast OasysDB native error type to anyhow error beside using .map_err() method. Although it works, when handling multiple errors from OasysDB, users have to write more boilerplate codes to handle errors.