X-Git-Url: https://git.madduck.net/code/vcsh.git/blobdiff_plain/5fcd29025e754fbedc4c64fb9bb217469d2c0c82..af9c23df7371cd61f8efb60a0654dda3f30f0370:/doc/error_codes.md?ds=inline diff --git a/doc/error_codes.md b/doc/error_codes.md index 06d760d..e663644 100644 --- a/doc/error_codes.md +++ b/doc/error_codes.md @@ -1,3 +1,17 @@ * 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 +* 14: Could not create directory +* 15: Could not create file +* 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 + +* 99: Error code reserved for actions that should never happen