summaryrefslogtreecommitdiff
path: root/scorshd.go
diff options
context:
space:
mode:
authorKatolaZ <katolaz@freaknet.org>2017-08-07 10:54:35 +0100
committerKatolaZ <katolaz@freaknet.org>2017-08-07 10:54:35 +0100
commitb31fe15e0d13f9064e26b117541633496c0c3307 (patch)
treead9fc1e3077b514c98af1d6a2cbd78e79f341c9f /scorshd.go
parent096b3fd2867d7bb2d3cd1f85d8806c651b26d625 (diff)
Renaming: "tags" -> "commands"; "commands" -> "actions"
Diffstat (limited to 'scorshd.go')
-rw-r--r--scorshd.go10
1 files changed, 5 insertions, 5 deletions
diff --git a/scorshd.go b/scorshd.go
index 9ada3b8..f5c57b9 100644
--- a/scorshd.go
+++ b/scorshd.go
@@ -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"