mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
25 lines
590 B
Protocol Buffer
25 lines
590 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
message UserError {
|
|
UserErrorCode code = 1;
|
|
string msg = 2;
|
|
}
|
|
enum UserErrorCode {
|
|
Unknown = 0;
|
|
UserDatabaseInitFailed = 1;
|
|
UserDatabaseWriteLocked = 2;
|
|
UserDatabaseReadLocked = 3;
|
|
UserDatabaseDidNotMatch = 4;
|
|
UserDatabaseInternalError = 5;
|
|
UserNotLoginYet = 10;
|
|
ReadCurrentIdFailed = 11;
|
|
WriteCurrentIdFailed = 12;
|
|
EmailInvalid = 20;
|
|
PasswordInvalid = 21;
|
|
UserNameInvalid = 22;
|
|
UserWorkspaceInvalid = 23;
|
|
UserIdInvalid = 24;
|
|
CreateDefaultWorkspaceFailed = 25;
|
|
DefaultWorkspaceAlreadyExist = 26;
|
|
}
|