meilisearch-rust
meilisearch-rust copied to clipboard
Use thiserror to handle errors
⚠️ Do not start contributing to this issue before this PR is merged: #297
Currently we are implementing all our errors by hand.
Exemple:
https://github.com/meilisearch/meilisearch-rust/blob/6f98caff09c2439002ac53307d1748a849c9e600/src/errors.rs#L58-L68
This would be way more simple using the thiserror library.