Enum tendermint::error::ErrorDetail[][src]

pub enum ErrorDetail {
Show 53 variants Crypto(CryptoSubdetail), InvalidKey(InvalidKeySubdetail), Length(LengthSubdetail), Parse(ParseSubdetail), ParseInt(ParseIntSubdetail), Protocol(ProtocolSubdetail), 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), TimestampOverflow(TimestampOverflowSubdetail), TimestampConversion(TimestampConversionSubdetail), NoVoteFound(NoVoteFoundSubdetail), NoProposalFound(NoProposalFoundSubdetail), InvalidAppHashLength(InvalidAppHashLengthSubdetail), InvalidPartSetHeader(InvalidPartSetHeaderSubdetail), MissingHeader(MissingHeaderSubdetail), MissingData(MissingDataSubdetail), MissingEvidence(MissingEvidenceSubdetail), MissingTimestamp(MissingTimestampSubdetail), InvalidTimestamp(InvalidTimestampSubdetail), InvalidBlock(InvalidBlockSubdetail), MissingVersion(MissingVersionSubdetail), InvalidFirstHeader(InvalidFirstHeaderSubdetail), InvalidSignature(InvalidSignatureSubdetail), InvalidValidatorAddress(InvalidValidatorAddressSubdetail), InvalidSignedHeader(InvalidSignedHeaderSubdetail), InvalidEvidence(InvalidEvidenceSubdetail), BlockIdFlag(BlockIdFlagSubdetail), NegativePower(NegativePowerSubdetail), UnsupportedKeyType(UnsupportedKeyTypeSubdetail), RawVotingPowerMismatch(RawVotingPowerMismatchSubdetail), MissingPublicKey(MissingPublicKeySubdetail), InvalidValidatorParams(InvalidValidatorParamsSubdetail), InvalidVersionParams(InvalidVersionParamsSubdetail), NegativeMaxAgeNum(NegativeMaxAgeNumSubdetail), MissingMaxAgeDuration(MissingMaxAgeDurationSubdetail), ProposerNotFound(ProposerNotFoundSubdetail), ChronoParse(ChronoParseSubdetail), SubtleEncoding(SubtleEncodingSubdetail), Signature(SignatureSubdetail), TrustThresholdTooLarge(TrustThresholdTooLargeSubdetail), UndefinedTrustThreshold(UndefinedTrustThresholdSubdetail), TrustThresholdTooSmall(TrustThresholdTooSmallSubdetail),
}

Variants

Tuple Fields of Crypto

0: CryptoSubdetail

Tuple Fields of InvalidKey

0: InvalidKeySubdetail

Tuple Fields of Length

0: LengthSubdetail

Tuple Fields of Parse

0: ParseSubdetail

Tuple Fields of ParseInt

0: ParseIntSubdetail

Tuple Fields of Protocol

0: ProtocolSubdetail
DurationOutOfRange(DurationOutOfRangeSubdetail)

Tuple Fields of DurationOutOfRange

0: DurationOutOfRangeSubdetail
EmptySignature(EmptySignatureSubdetail)

Tuple Fields of EmptySignature

0: EmptySignatureSubdetail
SignatureInvalid(SignatureInvalidSubdetail)

Tuple Fields of SignatureInvalid

0: SignatureInvalidSubdetail
InvalidMessageType(InvalidMessageTypeSubdetail)

Tuple Fields of InvalidMessageType

0: InvalidMessageTypeSubdetail
NegativeHeight(NegativeHeightSubdetail)

Tuple Fields of NegativeHeight

0: NegativeHeightSubdetail
NegativeRound(NegativeRoundSubdetail)

Tuple Fields of NegativeRound

0: NegativeRoundSubdetail
NegativePolRound(NegativePolRoundSubdetail)

Tuple Fields of NegativePolRound

0: NegativePolRoundSubdetail
NegativeValidatorIndex(NegativeValidatorIndexSubdetail)

Tuple Fields of NegativeValidatorIndex

0: NegativeValidatorIndexSubdetail
InvalidHashSize(InvalidHashSizeSubdetail)

Tuple Fields of InvalidHashSize

0: InvalidHashSizeSubdetail
NonZeroTimestamp(NonZeroTimestampSubdetail)

Tuple Fields of NonZeroTimestamp

0: NonZeroTimestampSubdetail
InvalidAccountIdLength(InvalidAccountIdLengthSubdetail)

Tuple Fields of InvalidAccountIdLength

0: InvalidAccountIdLengthSubdetail
InvalidSignatureIdLength(InvalidSignatureIdLengthSubdetail)

Tuple Fields of InvalidSignatureIdLength

0: InvalidSignatureIdLengthSubdetail
IntegerOverflow(IntegerOverflowSubdetail)

Tuple Fields of IntegerOverflow

0: IntegerOverflowSubdetail
TimestampOverflow(TimestampOverflowSubdetail)

Tuple Fields of TimestampOverflow

0: TimestampOverflowSubdetail
TimestampConversion(TimestampConversionSubdetail)

Tuple Fields of TimestampConversion

0: TimestampConversionSubdetail

Tuple Fields of NoVoteFound

0: NoVoteFoundSubdetail
NoProposalFound(NoProposalFoundSubdetail)

Tuple Fields of NoProposalFound

0: NoProposalFoundSubdetail
InvalidAppHashLength(InvalidAppHashLengthSubdetail)

Tuple Fields of InvalidAppHashLength

0: InvalidAppHashLengthSubdetail
InvalidPartSetHeader(InvalidPartSetHeaderSubdetail)

Tuple Fields of InvalidPartSetHeader

0: InvalidPartSetHeaderSubdetail
MissingHeader(MissingHeaderSubdetail)

Tuple Fields of MissingHeader

0: MissingHeaderSubdetail

Tuple Fields of MissingData

0: MissingDataSubdetail
MissingEvidence(MissingEvidenceSubdetail)

Tuple Fields of MissingEvidence

0: MissingEvidenceSubdetail
MissingTimestamp(MissingTimestampSubdetail)

Tuple Fields of MissingTimestamp

0: MissingTimestampSubdetail
InvalidTimestamp(InvalidTimestampSubdetail)

Tuple Fields of InvalidTimestamp

0: InvalidTimestampSubdetail
InvalidBlock(InvalidBlockSubdetail)

Tuple Fields of InvalidBlock

0: InvalidBlockSubdetail
MissingVersion(MissingVersionSubdetail)

Tuple Fields of MissingVersion

0: MissingVersionSubdetail
InvalidFirstHeader(InvalidFirstHeaderSubdetail)

Tuple Fields of InvalidFirstHeader

0: InvalidFirstHeaderSubdetail
InvalidSignature(InvalidSignatureSubdetail)

Tuple Fields of InvalidSignature

0: InvalidSignatureSubdetail
InvalidValidatorAddress(InvalidValidatorAddressSubdetail)

Tuple Fields of InvalidValidatorAddress

0: InvalidValidatorAddressSubdetail
InvalidSignedHeader(InvalidSignedHeaderSubdetail)

Tuple Fields of InvalidSignedHeader

0: InvalidSignedHeaderSubdetail
InvalidEvidence(InvalidEvidenceSubdetail)

Tuple Fields of InvalidEvidence

0: InvalidEvidenceSubdetail

Tuple Fields of BlockIdFlag

0: BlockIdFlagSubdetail
NegativePower(NegativePowerSubdetail)

Tuple Fields of NegativePower

0: NegativePowerSubdetail
UnsupportedKeyType(UnsupportedKeyTypeSubdetail)

Tuple Fields of UnsupportedKeyType

0: UnsupportedKeyTypeSubdetail
RawVotingPowerMismatch(RawVotingPowerMismatchSubdetail)

Tuple Fields of RawVotingPowerMismatch

0: RawVotingPowerMismatchSubdetail
MissingPublicKey(MissingPublicKeySubdetail)

Tuple Fields of MissingPublicKey

0: MissingPublicKeySubdetail
InvalidValidatorParams(InvalidValidatorParamsSubdetail)

Tuple Fields of InvalidValidatorParams

0: InvalidValidatorParamsSubdetail
InvalidVersionParams(InvalidVersionParamsSubdetail)

Tuple Fields of InvalidVersionParams

0: InvalidVersionParamsSubdetail
NegativeMaxAgeNum(NegativeMaxAgeNumSubdetail)

Tuple Fields of NegativeMaxAgeNum

0: NegativeMaxAgeNumSubdetail
MissingMaxAgeDuration(MissingMaxAgeDurationSubdetail)

Tuple Fields of MissingMaxAgeDuration

0: MissingMaxAgeDurationSubdetail
ProposerNotFound(ProposerNotFoundSubdetail)

Tuple Fields of ProposerNotFound

0: ProposerNotFoundSubdetail

Tuple Fields of ChronoParse

0: ChronoParseSubdetail
SubtleEncoding(SubtleEncodingSubdetail)

Tuple Fields of SubtleEncoding

0: SubtleEncodingSubdetail

Tuple Fields of Signature

0: SignatureSubdetail
TrustThresholdTooLarge(TrustThresholdTooLargeSubdetail)

Tuple Fields of TrustThresholdTooLarge

0: TrustThresholdTooLargeSubdetail
UndefinedTrustThreshold(UndefinedTrustThresholdSubdetail)

Tuple Fields of UndefinedTrustThreshold

0: UndefinedTrustThresholdSubdetail
TrustThresholdTooSmall(TrustThresholdTooSmallSubdetail)

Tuple Fields of TrustThresholdTooSmall

0: 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)

recently added

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.