-
Notifications
You must be signed in to change notification settings - Fork 43
/
errors.go
18 lines (15 loc) · 903 Bytes
/
errors.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package types
// DONTCOVER
import (
errorsmod "cosmossdk.io/errors"
)
// x/sequencers module sentinel errors
var (
ErrMultipleDymintSequencers = errorsmod.Register(ModuleName, 1, "multiple dymint sequencers not supported")
ErrNoSequencerOnInitChain = errorsmod.Register(ModuleName, 2, "no sequencer defined on InitChain")
ErrMissingOperatorAddrsOnInitChain = errorsmod.Register(ModuleName, 3, "missing operator address on InitChain")
ErrFailedInitChain = errorsmod.Register(ModuleName, 4, "failed to initialize sequencer on InitChain")
ErrFailedInitGenesis = errorsmod.Register(ModuleName, 5, "failed to initialize sequencer on InitGenesis")
ErrSequencerNotFound = errorsmod.Register(ModuleName, 6, "sequencer address not found")
ErrHistoricalInfoNotFound = errorsmod.Register(ModuleName, 7, "historical info not found")
)