[GH-ISSUE #1172] [FR]: Integrate thiserror and anyhow #464

Closed
opened 2026-03-23 20:36:51 +00:00 by mirror · 4 comments
Owner

Originally created by @appflowy on GitHub (Sep 26, 2022).
Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/1172

Originally assigned to: @inigoiparragirre on GitHub.

AppFlowy uses custom defined error type that will be eventually converted to FlowyError. Try to Integrate thiserror and anyhow into one of the crates located in rust-lib to make it easier to handle errors.

FlowyError is annotated with ProtoBuf macro, which means it can be deserialized/serialized via protobuf. For the moment, FlowyError is propagated to the Dart side.

Originally created by @appflowy on GitHub (Sep 26, 2022). Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/1172 Originally assigned to: @inigoiparragirre on GitHub. AppFlowy uses custom defined error type that will be eventually converted to `FlowyError`. Try to Integrate [thiserror](https://docs.rs/thiserror/latest/thiserror/) and [anyhow](https://docs.rs/anyhow/latest/anyhow/) into one of the crates located in [rust-lib](https://github.com/AppFlowy-IO/AppFlowy/tree/main/frontend/rust-lib) to make it easier to handle errors. `FlowyError` is annotated with `ProtoBuf` macro, which means it can be deserialized/serialized via protobuf. For the moment, `FlowyError` is propagated to the Dart side.
Author
Owner

@ghost commented on GitHub (Oct 24, 2022):

I would like to work on this issue 😄

<!-- gh-comment-id:1288312103 --> @ghost commented on GitHub (Oct 24, 2022): I would like to work on this issue 😄
Author
Owner

@annieappflowy commented on GitHub (Oct 28, 2022):

Hi @VoidCupboard , thanks for offering the help. Your mentor is @appflowy . If you need help, you can contact him on Discord.

<!-- gh-comment-id:1294897511 --> @annieappflowy commented on GitHub (Oct 28, 2022): Hi @VoidCupboard , thanks for offering the help. Your mentor is @appflowy . If you need help, you can contact him on [Discord](https://discord.gg/9Q2xaN37tV).
Author
Owner

@inigoiparragirre commented on GitHub (Dec 17, 2022):

Hi, I would like to know if this issue is ongoing. I can take a look. Thank you @annieappflowy

<!-- gh-comment-id:1356135003 --> @inigoiparragirre commented on GitHub (Dec 17, 2022): Hi, I would like to know if this issue is ongoing. I can take a look. Thank you @annieappflowy
Author
Owner

@annieappflowy commented on GitHub (Dec 18, 2022):

Hi @VoidCupboard , how's the progress on this issue?
If you are no longer working on it, we can let @inigoiparragirre take a look.

<!-- gh-comment-id:1356756155 --> @annieappflowy commented on GitHub (Dec 18, 2022): Hi @VoidCupboard , how's the progress on this issue? If you are no longer working on it, we can let @inigoiparragirre take a look.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
AppFlowy-IO/AppFlowy#464
No description provided.