diff options
author | KatolaZ <katolaz@freaknet.org> | 2017-08-07 10:54:35 +0100 |
---|---|---|
committer | KatolaZ <katolaz@freaknet.org> | 2017-08-07 10:54:35 +0100 |
commit | b31fe15e0d13f9064e26b117541633496c0c3307 (patch) | |
tree | ad9fc1e3077b514c98af1d6a2cbd78e79f341c9f /scorshd.go | |
parent | 096b3fd2867d7bb2d3cd1f85d8806c651b26d625 (diff) |
Renaming: "tags" -> "commands"; "commands" -> "actions"
Diffstat (limited to 'scorshd.go')
-rw-r--r-- | scorshd.go | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -29,15 +29,15 @@ func SCORSHerr(err int) error { var errStr string switch err { - case SCORSH_ERR_NO_FILE: + case errNoFile: errStr = "Invalid file name" - case SCORSH_ERR_KEYRING: + case errKeyring: errStr = "Invalid keyring" - case SCORSH_ERR_NO_REPO: + case errNoRepo: errStr = "Invalid repository" - case SCORSH_ERR_NO_COMMIT: + case errNoCommit: errStr = "Invalid commit ID" - case SCORSH_ERR_SIGNATURE: + case errSignature: errStr = "Invalid signature" default: errStr = "Generic Error" |