1
0
mirror of https://github.com/haiwen/seafile-server.git synced 2025-08-12 04:03:12 +00:00
seafile-server/include/seafile-error.h
feiniks 2d667a5c99
Check files with same name before post (#638)
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2023-11-22 16:57:13 +08:00

29 lines
925 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
#endif