diff options
| author | Syndamia <kamen.d.mladenov@protonmail.com> | 2021-07-09 14:15:45 +0300 |
|---|---|---|
| committer | Syndamia <kamen.d.mladenov@protonmail.com> | 2021-07-09 14:15:45 +0300 |
| commit | 4575fc829356ba4cd538094b987d69b0233648f7 (patch) | |
| tree | b3d2039d26a65426769722bc7a2b4a8b3bc57632 /go-src/errorMessages.go | |
| parent | ea02b0a4b04ccd3c692a15f4db813c6d4f915feb (diff) | |
| download | ctfc-4575fc829356ba4cd538094b987d69b0233648f7.tar ctfc-4575fc829356ba4cd538094b987d69b0233648f7.tar.gz ctfc-4575fc829356ba4cd538094b987d69b0233648f7.zip | |
Implemented validation of existance of username and chat name on creation
Diffstat (limited to 'go-src/errorMessages.go')
| -rw-r--r-- | go-src/errorMessages.go | 4 |
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!" +} |
