refactor: fav and workspace (#3837)

* refactor: workspace

* chore: update collab rev

* test: add data migration test

* fix: test

* fix: tauri build

* test: fix bloc test

* test: fix bloc test

* test: fix bloc test

* chore: restore magic codde
This commit is contained in:
Nathan.fooo
2023-11-01 11:45:35 +08:00
committed by GitHub
parent 54dbcb7c5e
commit 3e088d48ac
79 changed files with 646 additions and 661 deletions

View File

@ -256,6 +256,9 @@ pub enum ErrorCode {
#[error("Internal server error")]
InternalServerError = 84,
#[error("Not support yet")]
NotSupportYet = 85,
}
impl ErrorCode {

View File

@ -101,6 +101,7 @@ impl FlowyError {
);
static_flowy_error!(collab_not_sync, ErrorCode::CollabDataNotSync);
static_flowy_error!(server_error, ErrorCode::InternalServerError);
static_flowy_error!(not_support, ErrorCode::NotSupportYet);
}
impl std::convert::From<ErrorCode> for FlowyError {