feat(account): #49 refactor error handling

This commit is contained in:
2025-05-08 21:45:53 +02:00
parent 4744da0bee
commit 5cfea4e2d3
14 changed files with 142 additions and 119 deletions

8
service/error.go Normal file
View File

@@ -0,0 +1,8 @@
package service
import "errors"
var (
ErrBadRequest = errors.New("bad request")
ErrUnauthorized = errors.New("unauthorized")
)