feat: port verified messenger from lab 6

This commit is contained in:
Dmitrii Grishko
2026-11-14 19:16:28 +03:00
parent 20afc2c790
commit e3d7df4e72
142 changed files with 13702 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
package services
import "errors"
var (
ErrConflict = errors.New("conflict")
ErrUnknownUser = errors.New("unknown user")
ErrChatNotFound = errors.New("chat not found")
ErrInvalidSession = errors.New("invalid session")
)
type InvalidInput struct {
Message string
}
func (e InvalidInput) Error() string { return e.Message }