Initial cloud-services repo - gateway service + pkg modules
This commit is contained in:
9
pkg/mongo/error/errors.go
Normal file
9
pkg/mongo/error/errors.go
Normal file
@@ -0,0 +1,9 @@
|
||||
package error
|
||||
|
||||
import "github.com/pkg/errors"
|
||||
|
||||
var ErrInvalidStruct = errors.New("invalid struct passed through parameters")
|
||||
var ErrInvalidNumberOfDocs = errors.New("invalid number of docs returned from db")
|
||||
|
||||
var ErrUnableToUpdate = errors.New("unable to edit doc in db")
|
||||
var ErrUnableToDelete = errors.New("unable to delete doc in db")
|
||||
Reference in New Issue
Block a user