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
Crypto(CryptoSubdetail)
Tuple Fields of Crypto
InvalidKey(InvalidKeySubdetail)
Tuple Fields of InvalidKey
Length(LengthSubdetail)
Tuple Fields of Length
Parse(ParseSubdetail)
Tuple Fields of Parse
ParseInt(ParseIntSubdetail)
Tuple Fields of ParseInt
Protocol(ProtocolSubdetail)
Tuple Fields of Protocol
DurationOutOfRange(DurationOutOfRangeSubdetail)
Tuple Fields of DurationOutOfRange
EmptySignature(EmptySignatureSubdetail)
Tuple Fields of EmptySignature
SignatureInvalid(SignatureInvalidSubdetail)
Tuple Fields of SignatureInvalid
InvalidMessageType(InvalidMessageTypeSubdetail)
Tuple Fields of InvalidMessageType
NegativeHeight(NegativeHeightSubdetail)
Tuple Fields of NegativeHeight
NegativeRound(NegativeRoundSubdetail)
Tuple Fields of NegativeRound
NegativePolRound(NegativePolRoundSubdetail)
Tuple Fields of NegativePolRound
NegativeValidatorIndex(NegativeValidatorIndexSubdetail)
Tuple Fields of NegativeValidatorIndex
InvalidHashSize(InvalidHashSizeSubdetail)
Tuple Fields of InvalidHashSize
NonZeroTimestamp(NonZeroTimestampSubdetail)
Tuple Fields of NonZeroTimestamp
InvalidAccountIdLength(InvalidAccountIdLengthSubdetail)
Tuple Fields of InvalidAccountIdLength
InvalidSignatureIdLength(InvalidSignatureIdLengthSubdetail)
Tuple Fields of InvalidSignatureIdLength
IntegerOverflow(IntegerOverflowSubdetail)
Tuple Fields of IntegerOverflow
TimestampOverflow(TimestampOverflowSubdetail)
Tuple Fields of TimestampOverflow
TimestampConversion(TimestampConversionSubdetail)
Tuple Fields of TimestampConversion
NoVoteFound(NoVoteFoundSubdetail)
Tuple Fields of NoVoteFound
NoProposalFound(NoProposalFoundSubdetail)
Tuple Fields of NoProposalFound
InvalidAppHashLength(InvalidAppHashLengthSubdetail)
Tuple Fields of InvalidAppHashLength
InvalidPartSetHeader(InvalidPartSetHeaderSubdetail)
Tuple Fields of InvalidPartSetHeader
MissingHeader(MissingHeaderSubdetail)
Tuple Fields of MissingHeader
MissingData(MissingDataSubdetail)
Tuple Fields of MissingData
MissingEvidence(MissingEvidenceSubdetail)
Tuple Fields of MissingEvidence
MissingTimestamp(MissingTimestampSubdetail)
Tuple Fields of MissingTimestamp
InvalidTimestamp(InvalidTimestampSubdetail)
Tuple Fields of InvalidTimestamp
InvalidBlock(InvalidBlockSubdetail)
Tuple Fields of InvalidBlock
MissingVersion(MissingVersionSubdetail)
Tuple Fields of MissingVersion
InvalidFirstHeader(InvalidFirstHeaderSubdetail)
Tuple Fields of InvalidFirstHeader
InvalidSignature(InvalidSignatureSubdetail)
Tuple Fields of InvalidSignature
InvalidValidatorAddress(InvalidValidatorAddressSubdetail)
Tuple Fields of InvalidValidatorAddress
InvalidSignedHeader(InvalidSignedHeaderSubdetail)
Tuple Fields of InvalidSignedHeader
InvalidEvidence(InvalidEvidenceSubdetail)
Tuple Fields of InvalidEvidence
BlockIdFlag(BlockIdFlagSubdetail)
Tuple Fields of BlockIdFlag
NegativePower(NegativePowerSubdetail)
Tuple Fields of NegativePower
UnsupportedKeyType(UnsupportedKeyTypeSubdetail)
Tuple Fields of UnsupportedKeyType
RawVotingPowerMismatch(RawVotingPowerMismatchSubdetail)
Tuple Fields of RawVotingPowerMismatch
MissingPublicKey(MissingPublicKeySubdetail)
Tuple Fields of MissingPublicKey
InvalidValidatorParams(InvalidValidatorParamsSubdetail)
Tuple Fields of InvalidValidatorParams
InvalidVersionParams(InvalidVersionParamsSubdetail)
Tuple Fields of InvalidVersionParams
NegativeMaxAgeNum(NegativeMaxAgeNumSubdetail)
Tuple Fields of NegativeMaxAgeNum
MissingMaxAgeDuration(MissingMaxAgeDurationSubdetail)
Tuple Fields of MissingMaxAgeDuration
ProposerNotFound(ProposerNotFoundSubdetail)
Tuple Fields of ProposerNotFound
ChronoParse(ChronoParseSubdetail)
Tuple Fields of ChronoParse
SubtleEncoding(SubtleEncodingSubdetail)
Tuple Fields of SubtleEncoding
Signature(SignatureSubdetail)
Tuple Fields of Signature
TrustThresholdTooLarge(TrustThresholdTooLargeSubdetail)
Tuple Fields of TrustThresholdTooLarge
UndefinedTrustThreshold(UndefinedTrustThresholdSubdetail)
Tuple Fields of UndefinedTrustThreshold
TrustThresholdTooSmall(TrustThresholdTooSmallSubdetail)
Tuple Fields of TrustThresholdTooSmall
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ErrorDetail
impl Send for ErrorDetail
impl Sync for ErrorDetail
impl Unpin for ErrorDetail
impl UnwindSafe for ErrorDetail
Blanket Implementations
Mutably borrows from an owned value. Read more