mirror of
https://github.com/haiwen/seafile-server.git
synced 2025-04-27 19:15:07 +00:00
* Return 409 when gc conflict * Go return 409 when gc conflict * Return gc conflict when sync repo --------- Co-authored-by: 杨赫然 <heran.yang@seafile.com>
30 lines
958 B
C
30 lines
958 B
C
#ifndef SEAFILE_ERROR_H
|
|
#define SEAFILE_ERROR_H
|
|
|
|
#define SEAF_ERR_GENERAL 500
|
|
#define SEAF_ERR_BAD_REPO 501
|
|
#define SEAF_ERR_BAD_COMMIT 502
|
|
#define SEAF_ERR_BAD_ARGS 503
|
|
#define SEAF_ERR_INTERNAL 504
|
|
#define SEAF_ERR_BAD_FILE 505
|
|
#define SEAF_ERR_BAD_RELAY 506
|
|
#define SEAF_ERR_LIST_COMMITS 507
|
|
#define SEAF_ERR_REPO_AUTH 508
|
|
#define SEAF_ERR_GC_NOT_STARTED 509
|
|
#define SEAF_ERR_MONITOR_NOT_CONNECTED 510
|
|
#define SEAF_ERR_BAD_DIR_ID 511
|
|
#define SEAF_ERR_NO_WORKTREE 512
|
|
#define SEAF_ERR_BAD_PEER_ID 513
|
|
#define SEAF_ERR_REPO_LOCKED 514
|
|
#define SEAF_ERR_DIR_MISSING 515
|
|
#define SEAF_ERR_PATH_NO_EXIST 516 /* the dir or file pointed by this path not exists */
|
|
|
|
#define POST_FILE_ERR_FILENAME 517
|
|
#define POST_FILE_ERR_BLOCK_MISSING 518
|
|
#define POST_FILE_ERR_QUOTA_FULL 519
|
|
#define SEAF_ERR_CONCURRENT_UPLOAD 520
|
|
#define SEAF_ERR_FILES_WITH_SAME_NAME 521
|
|
#define SEAF_ERR_GC_CONFLICT 522
|
|
|
|
#endif
|