aboutsummaryrefslogtreecommitdiff
path: root/go-src/errorMessages.go
diff options
context:
space:
mode:
Diffstat (limited to 'go-src/errorMessages.go')
-rw-r--r--go-src/errorMessages.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/go-src/errorMessages.go b/go-src/errorMessages.go
index 0caf128..103bf41 100644
--- a/go-src/errorMessages.go
+++ b/go-src/errorMessages.go
@@ -9,3 +9,7 @@ const (
func invalidValueFor(typeName string) string {
return "Invalid value for " + typeName + "!"
}
+
+func valueAlreadyTaken(typeName string) string {
+ return typeName + " is already taken!"
+}