mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
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:
@ -256,6 +256,9 @@ pub enum ErrorCode {
|
||||
|
||||
#[error("Internal server error")]
|
||||
InternalServerError = 84,
|
||||
|
||||
#[error("Not support yet")]
|
||||
NotSupportYet = 85,
|
||||
}
|
||||
|
||||
impl ErrorCode {
|
||||
|
@ -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 {
|
||||
|
Reference in New Issue
Block a user