X-Git-Url: https://git.madduck.net/code/vcsh.git/blobdiff_plain/5fcd29025e754fbedc4c64fb9bb217469d2c0c82..2309790bb91081d044c8385b6d9e29780143e5db:/doc/error_codes.md?ds=sidebyside diff --git a/doc/error_codes.md b/doc/error_codes.md index 06d760d..008d4a1 100644 --- a/doc/error_codes.md +++ b/doc/error_codes.md @@ -1,3 +1,21 @@ * 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 + +* 99: Error code reserved for actions that should never happen