1
0
mirror of https://github.com/haiwen/seafile-server.git synced 2025-04-28 11:24:48 +00:00
seafile-server/include/seafile-error.h

30 lines
958 B
C
Raw Permalink Normal View History

2016-08-10 06:53:33 +00:00
#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
2016-08-10 06:53:33 +00:00
#endif