Files
smthqueue/internal/postgres/error.go
2023-10-31 23:26:48 +03:00

12 lines
263 B
Go

package postgres
type Error string
func (err Error) Error() string { return string(err) }
const (
ErrVersionIDMismatch Error = "version ids does not match"
ErrNoMessage Error = "no messages in queue"
ErrNotImplemented Error = "not implemented"
)