mirror of
https://github.com/3ybactuk/marketplace-go-service-project.git
synced 2026-11-04 00:02:52 +03:00
[hw-3] loms service
This commit is contained in:
1 parent
c8e056bc99
commit
b88dfe6db5
73 files changed
+8837
-52
No files matched your search
@@ -0,0 +1,13 @@
|
||||
package model
|
||||
|
||||
import "errors"
|
||||
|
||||
var (
|
||||
ErrInvalidInput = errors.New("invalid input")
|
||||
|
||||
ErrNotEnoughStocks = errors.New("not enough stocks")
|
||||
ErrUnknownStock = errors.New("unknown stock provided")
|
||||
|
||||
ErrOrderNotFound = errors.New("order not found")
|
||||
ErrOrderInvalidStatus = errors.New("invalid order status")
|
||||
)
|
||||
Reference in new issue
Block a user