Add missing errors

This commit is contained in:
allegroai 2021-05-03 17:39:49 +03:00
parent f5008d80ad
commit 26bda01a28

View File

@ -62,6 +62,8 @@
402: ["project_has_tasks", "project has associated tasks"]
403: ["project_not_found", "project not found"]
405: ["project_has_models", "project has associated models"]
407: ["invalid_project_name", "invalid project name"]
408: ["cannot_update_project_location", "cannot update project location"]
# Queues
701: ["invalid_queue_id", "invalid queue id"]
@ -108,6 +110,11 @@
21: ["no_write_permission", "forbidden (modification not allowed)"]
}
410: {
_: "gone"
1: ["not_supported", "thus endpoint is not supported any more"]
}
500 {
_: "server_error"
0: ["general_error", "general server error"]