1
This commit is contained in:
16
internal/database/errors/errors.go
Normal file
16
internal/database/errors/errors.go
Normal file
@@ -0,0 +1,16 @@
|
||||
package dberrors
|
||||
|
||||
import "errors"
|
||||
|
||||
var (
|
||||
ErrClientType = errors.New("invalid client type")
|
||||
ErrInvalidConfig = errors.New("invalid config")
|
||||
|
||||
ErrUnimplemented = errors.New("unimplemented")
|
||||
|
||||
ErrBadRequest = errors.New("bad request")
|
||||
ErrForbidden = errors.New("forbidden")
|
||||
ErrNotFound = errors.New("not found")
|
||||
ErrConflict = errors.New("conflict")
|
||||
ErrInternal = errors.New("internal")
|
||||
)
|
Reference in New Issue
Block a user