X-Git-Url: https://git.madduck.net/code/vcsh.git/blobdiff_plain/5fcd29025e754fbedc4c64fb9bb217469d2c0c82..11138029488343b403050de89df6b6d396258a30:/doc/error_codes.md?ds=sidebyside diff --git a/doc/error_codes.md b/doc/error_codes.md index 06d760d..49cb084 100644 --- a/doc/error_codes.md +++ b/doc/error_codes.md @@ -1,3 +1,19 @@ * 0: OK * 1: Generic error -* 10: source-only command was called without vcsh being sourced +* 10: Init failed because $GIT\_DIR exists +* 11: Could not enter $GIT\_WORK\_TREE +* 12: No repository found +* 13: Required directory exists but is not a directory +* 16: Potentially harmful operation aborted +* 17: Files that would be overwritten exist; fix manually + +* 50: Could not create directory +* 51: Could not create file +* 52: Could not move directory +* 53: Could not move file +* 54: Directory exists +* 55: File exists +* 56: +* 57: Could not write to file +* 57: Could not delete directory +* 59: Could not delete file