Implement lab 3 level 4 failover and idempotency

This commit is contained in:
2026-10-29 23:35:04 +03:00
parent 0ab3a341aa
commit a2cb1ad2ae
338 changed files with 37821 additions and 22 deletions
+16
View File
@@ -0,0 +1,16 @@
package repository
import (
"errors"
)
var (
ErrNotFound = errors.New("not found")
ErrAlreadyExists = errors.New("already exists")
ErrDatabase = errors.New("database error")
ErrInvalidInput = errors.New("invalid input")
ErrServiceUnavailable = errors.New("database unavailable")
ErrServerError = errors.New("server error")
ErrRedisNotAnswer = errors.New("redis not not answer")
ErrConflict = errors.New("data conflict")
)