[PR #1599] [MERGED] Feat/integrate thiserror anyhow #4843

Closed
opened 2026-03-23 22:16:04 +00:00 by mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/AppFlowy-IO/AppFlowy/pull/1599
Author: @inigoiparragirre
Created: 12/21/2022
Status: Merged
Merged: 12/28/2022
Merged by: @appflowy

Base: mainHead: feat/integrate_thiserror_anyhow


📝 Commits (8)

  • bf88f9f feat: add thiserror and anyhow dependencies
  • 9005850 feat: add thiserror derive to ErrorCode
  • fe64edc feat: add thiserror derive to FlowyStruct
  • 999349c feat: update error field
  • df9736b feat: update lock files
  • 8e400d3 Revert "feat: update lock files"
  • eb278f2 fix: cargo fmt
  • 138c3b2 Merge branch 'AppFlowy-IO:main' into feat/integrate_thiserror_anyhow

📊 Changes

4 files changed (+67 additions, -60 deletions)

View changed files

📝 frontend/rust-lib/flowy-error/Cargo.toml (+2 -0)
📝 frontend/rust-lib/flowy-error/src/errors.rs (+10 -6)
📝 shared-lib/flowy-error-code/Cargo.toml (+1 -0)
📝 shared-lib/flowy-error-code/src/code.rs (+54 -54)

📄 Description

Add thiserror and anyhow crates for error handling.
Derive thiserror for ErrorCode and FlowyError.

Issue: Integrate thiserror and anyhow #1172


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/AppFlowy-IO/AppFlowy/pull/1599 **Author:** [@inigoiparragirre](https://github.com/inigoiparragirre) **Created:** 12/21/2022 **Status:** ✅ Merged **Merged:** 12/28/2022 **Merged by:** [@appflowy](https://github.com/appflowy) **Base:** `main` ← **Head:** `feat/integrate_thiserror_anyhow` --- ### 📝 Commits (8) - [`bf88f9f`](https://github.com/AppFlowy-IO/AppFlowy/commit/bf88f9f95b0059c300d43b0f03b1901523a081bd) feat: add thiserror and anyhow dependencies - [`9005850`](https://github.com/AppFlowy-IO/AppFlowy/commit/9005850ac892214fe2db0aa374126724cafa0430) feat: add thiserror derive to ErrorCode - [`fe64edc`](https://github.com/AppFlowy-IO/AppFlowy/commit/fe64edc15a569303680cb50dc736dc193162ecf2) feat: add thiserror derive to FlowyStruct - [`999349c`](https://github.com/AppFlowy-IO/AppFlowy/commit/999349c5d572678e02f3ead0b375248f847dfb7d) feat: update error field - [`df9736b`](https://github.com/AppFlowy-IO/AppFlowy/commit/df9736b8435a0dfb6c8ec2e831631fa24c57d0dc) feat: update lock files - [`8e400d3`](https://github.com/AppFlowy-IO/AppFlowy/commit/8e400d3f32b1f664087ab3026f2af24b813f7f75) Revert "feat: update lock files" - [`eb278f2`](https://github.com/AppFlowy-IO/AppFlowy/commit/eb278f24cc96b4865e5e970a6113fb25f6bdace3) fix: cargo fmt - [`138c3b2`](https://github.com/AppFlowy-IO/AppFlowy/commit/138c3b2cdfbf8ea01f4c46a3f9855569c2137e5e) Merge branch 'AppFlowy-IO:main' into feat/integrate_thiserror_anyhow ### 📊 Changes **4 files changed** (+67 additions, -60 deletions) <details> <summary>View changed files</summary> 📝 `frontend/rust-lib/flowy-error/Cargo.toml` (+2 -0) 📝 `frontend/rust-lib/flowy-error/src/errors.rs` (+10 -6) 📝 `shared-lib/flowy-error-code/Cargo.toml` (+1 -0) 📝 `shared-lib/flowy-error-code/src/code.rs` (+54 -54) </details> ### 📄 Description Add thiserror and anyhow crates for error handling. Derive thiserror for ErrorCode and FlowyError. Issue: Integrate thiserror and anyhow #1172 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
mirror 2026-03-23 22:16:04 +00:00
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#4843
No description provided.