Introduce new error message constant
authorMikael Berthe <mikael@lilotux.net>
Thu, 13 Apr 2017 12:38:59 +0200
changeset 104 fc338e606d37
parent 103 9860bb68a0a6
child 105 e2a16e19eb8b
Introduce new error message constant
gondole.go
--- a/gondole.go	Thu Apr 13 11:02:11 2017 +0200
+++ b/gondole.go	Thu Apr 13 12:38:59 2017 +0200
@@ -23,6 +23,7 @@
 var (
 	ErrAlreadyRegistered = errors.New("app already registered")
 	ErrEntityNotFound    = errors.New("entity not found")
+	ErrInvalidParameter  = errors.New("incorrect parameter")
 	ErrInvalidID         = errors.New("incorrect entity ID")
 )