2021-12-14 10:04:51 +00:00
|
|
|
syntax = "proto3";
|
|
|
|
|
|
|
|
enum ErrorCode {
|
|
|
|
Internal = 0;
|
|
|
|
UserUnauthorized = 2;
|
|
|
|
RecordNotFound = 3;
|
2022-03-19 08:23:34 +00:00
|
|
|
UserIdIsEmpty = 4;
|
2021-12-14 10:04:51 +00:00
|
|
|
WorkspaceNameInvalid = 100;
|
|
|
|
WorkspaceIdInvalid = 101;
|
|
|
|
AppColorStyleInvalid = 102;
|
|
|
|
WorkspaceDescTooLong = 103;
|
|
|
|
WorkspaceNameTooLong = 104;
|
|
|
|
AppIdInvalid = 110;
|
|
|
|
AppNameInvalid = 111;
|
|
|
|
ViewNameInvalid = 120;
|
|
|
|
ViewThumbnailInvalid = 121;
|
|
|
|
ViewIdInvalid = 122;
|
|
|
|
ViewDescTooLong = 123;
|
|
|
|
ViewDataInvalid = 124;
|
|
|
|
ViewNameTooLong = 125;
|
|
|
|
ConnectError = 200;
|
|
|
|
EmailIsEmpty = 300;
|
|
|
|
EmailFormatInvalid = 301;
|
|
|
|
EmailAlreadyExists = 302;
|
|
|
|
PasswordIsEmpty = 303;
|
|
|
|
PasswordTooLong = 304;
|
|
|
|
PasswordContainsForbidCharacters = 305;
|
|
|
|
PasswordFormatInvalid = 306;
|
|
|
|
PasswordNotMatch = 307;
|
|
|
|
UserNameTooLong = 308;
|
|
|
|
UserNameContainForbiddenCharacters = 309;
|
|
|
|
UserNameIsEmpty = 310;
|
|
|
|
UserIdInvalid = 311;
|
|
|
|
UserNotExist = 312;
|
2022-03-16 02:02:37 +00:00
|
|
|
TextTooLong = 400;
|
2022-03-23 14:10:31 +00:00
|
|
|
GridIdIsEmpty = 410;
|
|
|
|
BlockIdIsEmpty = 420;
|
|
|
|
RowIdIsEmpty = 430;
|
2022-04-05 06:25:07 +00:00
|
|
|
OptionIdIsEmpty = 431;
|
2022-03-23 14:10:31 +00:00
|
|
|
FieldIdIsEmpty = 440;
|
2022-03-27 01:35:10 +00:00
|
|
|
FieldDoesNotExist = 441;
|
2022-03-29 14:58:38 +00:00
|
|
|
SelectOptionNameIsEmpty = 442;
|
2022-03-27 01:35:10 +00:00
|
|
|
TypeOptionDataIsEmpty = 450;
|
2022-03-23 14:10:31 +00:00
|
|
|
InvalidData = 500;
|
2021-12-14 10:04:51 +00:00
|
|
|
}
|