Skip to content

Commit

Permalink
Merge pull request #18 from jupyter-naas/78-feat-implement-workspace
Browse files Browse the repository at this point in the history
fix: Add missing errors
  • Loading branch information
Dr0p42 committed Mar 5, 2024
2 parents 2fd8eb1 + ebab7ba commit 98d8ea6
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions protos/workspace.proto
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ enum WorkspaceError {
WORKSPACE_USER_NOT_FOUND = 3;
WORKSPACE_USER_ALREADY_ACTIVE = 4;
USER_ALREADY_HAVE_PERSONAL_WORKSPACE = 5;
WORKSPACE_PLUGIN_NOT_FOUND = 6;

INTERNAL_SERVER_ERROR = 1000;
}
Expand Down
1 change: 1 addition & 0 deletions python/naas_models/pydantic/workspace_p2p.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ class WorkspaceError(IntEnum):
WORKSPACE_USER_NOT_FOUND = 3
WORKSPACE_USER_ALREADY_ACTIVE = 4
USER_ALREADY_HAVE_PERSONAL_WORKSPACE = 5
WORKSPACE_PLUGIN_NOT_FOUND = 6
INTERNAL_SERVER_ERROR = 1000


Expand Down
Loading

0 comments on commit 98d8ea6

Please sign in to comment.