X-Git-Url: https://git.madduck.net/code/vcsh.git/blobdiff_plain/5fcd29025e754fbedc4c64fb9bb217469d2c0c82..d8a329b4dace1bdbdcf41291d835ac6699d740ce:/doc/error_codes.md?ds=sidebyside diff --git a/doc/error_codes.md b/doc/error_codes.md index 06d760d..e127e7d 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