-
Notifications
You must be signed in to change notification settings - Fork 0
/
errors.go
17 lines (16 loc) · 1.12 KB
/
errors.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package cmd
const (
errTextVestingAccountGreaterThanTotal = "vesting amount cannot be greater than total amount"
errTextInvalidVestingParams = "invalid vesting parameters; must supply start and end time or end time"
errTextGenesisUnmarshalFailed = "failed to unmarshal genesis state: %w"
errTextBlankGenesisUnmarshalFailed = "failed to marshal bank genesis state: %w"
errTextApplicationGenesisMarshalFailed = "failed to marshal application genesis state: %w"
errTextGettingAddressFromKeybaseFailed = "failed to get address from Keybase: %w"
errTextCoinsParsingFailed = "failed to parse coins: %w"
errTextGetAccountFromAnyFailed = "failed to get accounts from any: %w"
errTextCannotAddExistingAddress = "cannot add account at existing address %s"
errTextConvertAccountToAnyFailed = "failed to convert accounts into any's: %w"
errTextGenesisAuthMarshalFailed = "failed to marshal auth genesis state: %w"
errTextParsingVestingAmountFailed = "failed to parse vesting amount: %w"
errTextGenesisAccValidationFailed = "failed to validate new genesis account: %w"
)