mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
refactor: rename error-code to flowy-error-code in case of ambiguous
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
use bytes::Bytes;
|
||||
use error_code::ErrorCode;
|
||||
use flowy_derive::ProtoBuf;
|
||||
use flowy_error_code::ErrorCode;
|
||||
use lib_dispatch::prelude::{EventResponse, ResponseBuilder};
|
||||
use std::{convert::TryInto, fmt, fmt::Debug};
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
use crate::FlowyError;
|
||||
use error_code::ErrorCode;
|
||||
use flowy_error_code::ErrorCode;
|
||||
use http_flowy::errors::{ErrorCode as ServerErrorCode, ServerError};
|
||||
|
||||
impl std::convert::From<ServerError> for FlowyError {
|
||||
|
@ -2,5 +2,5 @@ mod errors;
|
||||
mod ext;
|
||||
pub mod protobuf;
|
||||
|
||||
pub use error_code::ErrorCode;
|
||||
pub use errors::*;
|
||||
pub use flowy_error_code::ErrorCode;
|
||||
|
Reference in New Issue
Block a user