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.go11
1 files changed, 11 insertions, 0 deletions
diff --git a/go-src/errorMessages.go b/go-src/errorMessages.go
new file mode 100644
index 0000000..0caf128
--- /dev/null
+++ b/go-src/errorMessages.go
@@ -0,0 +1,11 @@
+package ctfc
+
+const (
+ invalidArgument = "Invalid argument!"
+ invalidCommand = "Invalid command!"
+ invalidCredentials = "Invalid credentials!"
+)
+
+func invalidValueFor(typeName string) string {
+ return "Invalid value for " + typeName + "!"
+}