mirror of
https://github.com/hanzo-fi/stack.git
synced 2026-10-30 20:34:43 +00:00
22 lines
668 B
Go
22 lines
668 B
Go
package wallet
|
|
|
|
import (
|
|
"errors"
|
|
)
|
|
|
|
var (
|
|
ErrWalletNotFound = errors.New("wallet not found")
|
|
ErrHoldNotFound = errors.New("hold not found")
|
|
ErrInsufficientFundError = errors.New("insufficient fund")
|
|
ErrClosedHold = errors.New("closed hold")
|
|
ErrBalanceAlreadyExists = errors.New("balance already exists")
|
|
ErrInvalidBalanceName = errors.New("invalid balance name")
|
|
ErrReservedBalanceName = errors.New("reserved balance name")
|
|
ErrBalanceNotExists = errors.New("balance not exists")
|
|
ErrInvalidBalanceSpecified = errors.New("invalid balance specified")
|
|
)
|
|
|
|
type GenericOpenAPIError interface {
|
|
Model() any
|
|
}
|