Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrAccountNotExist means query account not exist ErrAccountNotExist = fmt.Errorf("Account not exist") // ErrBalanceNotEnough means account does not have enough money ErrBalanceNotEnough = fmt.Errorf("Balance not enough") // ErrSelfTransfer means trade want to transfer money to the same account ErrSelfTransfer = fmt.Errorf("Self transfer") // ErrUpdateBalance ErrUpdateBalance = fmt.Errorf("fail to update balance") // ErrInvalidDealing ErrInvalidDealing = fmt.Errorf("Invalid dealing") )
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.