X-Git-Url: https://git.madduck.net/code/vcsh.git/blobdiff_plain/5fcd29025e754fbedc4c64fb9bb217469d2c0c82..935df7b27742bd2677fe8b74586ece85e138de68:/doc/error_codes.md diff --git a/doc/error_codes.md b/doc/error_codes.md index 06d760d..70496b5 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 +* 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 + +* 99: Error code reserved for actions that should never happen