implement
This commit is contained in:
11
internal/postgres/error.go
Normal file
11
internal/postgres/error.go
Normal file
@ -0,0 +1,11 @@
|
||||
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"
|
||||
)
|
||||
Reference in New Issue
Block a user