2019-06-05 16:26:17 -07:00
|
|
|
package types
|
2017-07-03 05:50:33 -07:00
|
|
|
|
|
|
|
import (
|
2019-12-27 09:57:54 -08:00
|
|
|
sdkerrors "github.com/cosmos/cosmos-sdk/types/errors"
|
2017-07-03 05:50:33 -07:00
|
|
|
)
|
|
|
|
|
2019-12-27 09:57:54 -08:00
|
|
|
// x/bank module sentinel errors
|
|
|
|
var (
|
2020-02-18 05:43:00 -08:00
|
|
|
ErrNoInputs = sdkerrors.Register(ModuleName, 2, "no inputs to send transaction")
|
|
|
|
ErrNoOutputs = sdkerrors.Register(ModuleName, 3, "no outputs to send transaction")
|
|
|
|
ErrInputOutputMismatch = sdkerrors.Register(ModuleName, 4, "sum inputs != sum outputs")
|
|
|
|
ErrSendDisabled = sdkerrors.Register(ModuleName, 5, "send transactions are disabled")
|
2017-12-20 21:23:19 -08:00
|
|
|
)
|