Initial setup
This commit is contained in:
10
pkg/errors/errors.go
Normal file
10
pkg/errors/errors.go
Normal file
@@ -0,0 +1,10 @@
|
||||
package errors
|
||||
|
||||
import "errors"
|
||||
|
||||
var (
|
||||
ErrUserNotFound = errors.New("user not found")
|
||||
ErrInvalidEmail = errors.New("invalid email")
|
||||
// Add other custom errors here
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user