Fix error serialize implementation
11 files changed
+52
-162
9ff06179
→
d52c01e2
modified crates/radicle-tauri/src/commands/auth.rs
@@ -1,6 +1,7 @@
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-tauri/src/commands/cob.rs
@@ -2,10 +2,11 @@ use radicle::cob;
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -16,8 +17,8 @@ pub async fn get_file_by_oid(
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -26,8 +27,8 @@ pub async fn save_embed(
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -36,7 +37,6 @@ pub fn activity_by_id(
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
|
modified crates/radicle-tauri/src/commands/cob/draft.rs
@@ -2,9 +2,9 @@ use radicle::cob;
|
|
|
|
|
|
| + | |
|
|
|
|
| - | |
|
|
|
|
|
@@ -19,5 +19,4 @@ pub fn publish_draft(
|
|
|
|
|
|
| - | |
|
modified crates/radicle-tauri/src/commands/cob/issue.rs
@@ -2,10 +2,10 @@ use radicle::git;
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -15,7 +15,7 @@ pub fn create_issue(
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -27,7 +27,6 @@ pub fn edit_issue(
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -36,7 +35,7 @@ pub(crate) fn list_issues(
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -45,7 +44,7 @@ pub(crate) fn issue_by_id(
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -55,5 +54,4 @@ pub(crate) fn comment_threads_by_issue_id(
|
|
|
|
|
|
| - | |
|
modified crates/radicle-tauri/src/commands/cob/patch.rs
@@ -4,10 +4,10 @@ use radicle::identity;
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -19,7 +19,6 @@ pub async fn list_patches(
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -28,7 +27,7 @@ pub fn patch_by_id(
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -37,7 +36,7 @@ pub fn revisions_by_patch(
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -48,7 +47,6 @@ pub fn revision_by_patch_and_id(
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -60,7 +58,6 @@ pub fn create_draft_review(
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -76,7 +73,6 @@ pub fn create_draft_review_comment(
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -91,7 +87,6 @@ pub fn edit_draft_review(
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -113,5 +108,4 @@ pub fn edit_patch(
|
|
|
|
|
|
| - | |
|
modified crates/radicle-tauri/src/commands/diff.rs
@@ -1,15 +1,16 @@
|
|
|
|
|
|
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
modified crates/radicle-tauri/src/commands/repo.rs
@@ -2,14 +2,14 @@ use radicle::git;
|
|
|
|
|
|
| + | |
|
|
|
|
| - | |
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -17,7 +17,7 @@ pub fn repo_by_id(
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -27,5 +27,5 @@ pub async fn diff_stats(
|
|
|
|
|
|
| - | |
| + | |
|
modified crates/radicle-tauri/src/commands/thread.rs
@@ -1,9 +1,9 @@
|
|
|
|
|
|
| + | |
|
|
|
|
| - | |
|
|
|
|
|
@@ -14,7 +14,6 @@ pub fn create_issue_comment(
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -25,5 +24,4 @@ pub fn create_patch_comment(
|
|
|
|
|
|
| - | |
|
deleted crates/radicle-tauri/src/error.rs
@@ -1,113 +0,0 @@
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
modified crates/radicle-tauri/src/lib.rs
@@ -1,11 +1,11 @@
|
|
| - | |
|
|
|
|
|
|
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -44,12 +44,12 @@ pub fn run() {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-types/src/error.rs
@@ -94,19 +94,31 @@ impl Serialize for Error {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
| + | |
| + | |
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|