aboutsummaryrefslogtreecommitdiff
path: root/go-src/errorMessages.go
diff options
context:
space:
mode:
authorSyndamia <kamen.d.mladenov@protonmail.com>2021-07-05 16:47:10 +0300
committerSyndamia <kamen.d.mladenov@protonmail.com>2021-07-05 16:47:10 +0300
commitacdb157282ac4705d8ec3ffab75b6bba2cc08550 (patch)
tree709c534d40edef276fda092b44765f1ba34ca2cc /go-src/errorMessages.go
parentdd0862468b9f76d0d335b0fb3720ce3cd364d9a9 (diff)
downloadctfc-acdb157282ac4705d8ec3ffab75b6bba2cc08550.tar
ctfc-acdb157282ac4705d8ec3ffab75b6bba2cc08550.tar.gz
ctfc-acdb157282ac4705d8ec3ffab75b6bba2cc08550.zip
Changed file structure and implemented rester file creation and login check
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 + "!"
+}