chore: add more test and fix warnings

This commit is contained in:
appflowy
2022-03-16 10:02:37 +08:00
parent 47081f3095
commit b3ed254caf
24 changed files with 318 additions and 132 deletions

View File

@ -64,6 +64,8 @@ impl FlowyError {
static_flowy_error!(name_empty, ErrorCode::UserNameIsEmpty);
static_flowy_error!(user_id, ErrorCode::UserIdInvalid);
static_flowy_error!(user_not_exist, ErrorCode::UserNotExist);
static_flowy_error!(text_too_long, ErrorCode::TextTooLong);
static_flowy_error!(invalid_data, ErrorCode::InvalidData);
}
impl std::convert::From<ErrorCode> for FlowyError {