flowlight0 / simpledb-rs

MIT License
0 stars 0 forks source link

Refactor error structure #21

Closed flowlight0 closed 4 days ago

flowlight0 commented 5 days ago

The current implementation almost always uses anyhow::Error. "Effective Rust" says I should enum-based errors to make the error structure clearer (https://www.lurklurk.org/effective-rust/errors.html). I'll follow this suggestion and replace anyhow::Error s with enum-based errors.