logo
pub enum ErrorDetail {
Show 63 variants Crypto(CryptoSubdetail), InvalidKey(InvalidKeySubdetail), Length(LengthSubdetail), Parse(ParseSubdetail), ParseInt(ParseIntSubdetail), Protocol(ProtocolSubdetail), DateOutOfRange(DateOutOfRangeSubdetail), DurationOutOfRange(DurationOutOfRangeSubdetail), EmptySignature(EmptySignatureSubdetail), SignatureInvalid(SignatureInvalidSubdetail), InvalidMessageType(InvalidMessageTypeSubdetail), NegativeHeight(NegativeHeightSubdetail), NegativeRound(NegativeRoundSubdetail), NegativePolRound(NegativePolRoundSubdetail), NegativeValidatorIndex(NegativeValidatorIndexSubdetail), InvalidHashSize(InvalidHashSizeSubdetail), NonZeroTimestamp(NonZeroTimestampSubdetail), InvalidAccountIdLength(InvalidAccountIdLengthSubdetail), InvalidSignatureIdLength(InvalidSignatureIdLengthSubdetail), IntegerOverflow(IntegerOverflowSubdetail), TimestampNanosOutOfRange(TimestampNanosOutOfRangeSubdetail), TimestampConversion(TimestampConversionSubdetail), NoVoteFound(NoVoteFoundSubdetail), NoProposalFound(NoProposalFoundSubdetail), InvalidAppHashLength(InvalidAppHashLengthSubdetail), InvalidPartSetHeader(InvalidPartSetHeaderSubdetail), MissingHeader(MissingHeaderSubdetail), MissingData(MissingDataSubdetail), MissingEvidence(MissingEvidenceSubdetail), MissingTimestamp(MissingTimestampSubdetail), MissingVersion(MissingVersionSubdetail), MissingMaxAgeDuration(MissingMaxAgeDurationSubdetail), MissingPublicKey(MissingPublicKeySubdetail), MissingValidator(MissingValidatorSubdetail), MissingLastCommitInfo(MissingLastCommitInfoSubdetail), MissingGenesisTime(MissingGenesisTimeSubdetail), MissingConsensusParams(MissingConsensusParamsSubdetail), InvalidTimestamp(InvalidTimestampSubdetail), InvalidBlock(InvalidBlockSubdetail), InvalidFirstHeader(InvalidFirstHeaderSubdetail), InvalidSignature(InvalidSignatureSubdetail), InvalidValidatorAddress(InvalidValidatorAddressSubdetail), InvalidSignedHeader(InvalidSignedHeaderSubdetail), InvalidEvidence(InvalidEvidenceSubdetail), InvalidValidatorParams(InvalidValidatorParamsSubdetail), InvalidVersionParams(InvalidVersionParamsSubdetail), InvalidAbciRequestType(InvalidAbciRequestTypeSubdetail), InvalidAbciResponseType(InvalidAbciResponseTypeSubdetail), BlockIdFlag(BlockIdFlagSubdetail), NegativePower(NegativePowerSubdetail), UnsupportedKeyType(UnsupportedKeyTypeSubdetail), UnsupportedCheckTxType(UnsupportedCheckTxTypeSubdetail), UnsupportedApplySnapshotChunkResult(UnsupportedApplySnapshotChunkResultSubdetail), UnsupportedOfferSnapshotChunkResult(UnsupportedOfferSnapshotChunkResultSubdetail), RawVotingPowerMismatch(RawVotingPowerMismatchSubdetail), NegativeMaxAgeNum(NegativeMaxAgeNumSubdetail), ProposerNotFound(ProposerNotFoundSubdetail), TimeParse(TimeParseSubdetail), SubtleEncoding(SubtleEncodingSubdetail), Signature(SignatureSubdetail), TrustThresholdTooLarge(TrustThresholdTooLargeSubdetail), UndefinedTrustThreshold(UndefinedTrustThresholdSubdetail), TrustThresholdTooSmall(TrustThresholdTooSmallSubdetail),
}

Variants

Crypto(CryptoSubdetail)

Tuple Fields

InvalidKey(InvalidKeySubdetail)

Tuple Fields

Length(LengthSubdetail)

Tuple Fields

Parse(ParseSubdetail)

Tuple Fields

ParseInt(ParseIntSubdetail)

Tuple Fields

Protocol(ProtocolSubdetail)

Tuple Fields

DateOutOfRange(DateOutOfRangeSubdetail)

Tuple Fields

DurationOutOfRange(DurationOutOfRangeSubdetail)

EmptySignature(EmptySignatureSubdetail)

Tuple Fields

SignatureInvalid(SignatureInvalidSubdetail)

InvalidMessageType(InvalidMessageTypeSubdetail)

NegativeHeight(NegativeHeightSubdetail)

Tuple Fields

NegativeRound(NegativeRoundSubdetail)

Tuple Fields

NegativePolRound(NegativePolRoundSubdetail)

NegativeValidatorIndex(NegativeValidatorIndexSubdetail)

InvalidHashSize(InvalidHashSizeSubdetail)

Tuple Fields

NonZeroTimestamp(NonZeroTimestampSubdetail)

InvalidAccountIdLength(InvalidAccountIdLengthSubdetail)

InvalidSignatureIdLength(InvalidSignatureIdLengthSubdetail)

IntegerOverflow(IntegerOverflowSubdetail)

Tuple Fields

TimestampNanosOutOfRange(TimestampNanosOutOfRangeSubdetail)

TimestampConversion(TimestampConversionSubdetail)

NoVoteFound(NoVoteFoundSubdetail)

Tuple Fields

NoProposalFound(NoProposalFoundSubdetail)

Tuple Fields

InvalidAppHashLength(InvalidAppHashLengthSubdetail)

InvalidPartSetHeader(InvalidPartSetHeaderSubdetail)

MissingHeader(MissingHeaderSubdetail)

Tuple Fields

MissingData(MissingDataSubdetail)

Tuple Fields

MissingEvidence(MissingEvidenceSubdetail)

Tuple Fields

MissingTimestamp(MissingTimestampSubdetail)

MissingVersion(MissingVersionSubdetail)

Tuple Fields

MissingMaxAgeDuration(MissingMaxAgeDurationSubdetail)

MissingPublicKey(MissingPublicKeySubdetail)

MissingValidator(MissingValidatorSubdetail)

MissingLastCommitInfo(MissingLastCommitInfoSubdetail)

MissingGenesisTime(MissingGenesisTimeSubdetail)

MissingConsensusParams(MissingConsensusParamsSubdetail)

InvalidTimestamp(InvalidTimestampSubdetail)

InvalidBlock(InvalidBlockSubdetail)

Tuple Fields

InvalidFirstHeader(InvalidFirstHeaderSubdetail)

InvalidSignature(InvalidSignatureSubdetail)

InvalidValidatorAddress(InvalidValidatorAddressSubdetail)

InvalidSignedHeader(InvalidSignedHeaderSubdetail)

InvalidEvidence(InvalidEvidenceSubdetail)

Tuple Fields

InvalidValidatorParams(InvalidValidatorParamsSubdetail)

InvalidVersionParams(InvalidVersionParamsSubdetail)

InvalidAbciRequestType(InvalidAbciRequestTypeSubdetail)

InvalidAbciResponseType(InvalidAbciResponseTypeSubdetail)

BlockIdFlag(BlockIdFlagSubdetail)

Tuple Fields

NegativePower(NegativePowerSubdetail)

Tuple Fields

UnsupportedKeyType(UnsupportedKeyTypeSubdetail)

UnsupportedCheckTxType(UnsupportedCheckTxTypeSubdetail)

UnsupportedApplySnapshotChunkResult(UnsupportedApplySnapshotChunkResultSubdetail)

UnsupportedOfferSnapshotChunkResult(UnsupportedOfferSnapshotChunkResultSubdetail)

RawVotingPowerMismatch(RawVotingPowerMismatchSubdetail)

NegativeMaxAgeNum(NegativeMaxAgeNumSubdetail)

ProposerNotFound(ProposerNotFoundSubdetail)

TimeParse(TimeParseSubdetail)

Tuple Fields

SubtleEncoding(SubtleEncodingSubdetail)

Tuple Fields

Signature(SignatureSubdetail)

Tuple Fields

TrustThresholdTooLarge(TrustThresholdTooLargeSubdetail)

UndefinedTrustThreshold(UndefinedTrustThresholdSubdetail)

TrustThresholdTooSmall(TrustThresholdTooSmallSubdetail)

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.