TxValidationError marks that the error is related to validation of a transaction
type TxValidationError interface {
error
IsValid() bool
}
VSCCEndorsementPolicyError error to mark transaction failed endorsement policy check
type VSCCEndorsementPolicyError struct {
Err error
}
func (e VSCCEndorsementPolicyError) Error() string
Error returns reasons which lead to the failure
func (e *VSCCEndorsementPolicyError) IsValid() bool
VSCCExecutionFailureError error to indicate failure during attempt of executing VSCC endorsement policy check
type VSCCExecutionFailureError struct {
Err error
}
func (e VSCCExecutionFailureError) Error() string
Error returns reasons which lead to the failure
func (e *VSCCExecutionFailureError) IsValid() bool
VSCCInfoLookupFailureError error to indicate inability to obtain VSCC information from LCCC
type VSCCInfoLookupFailureError struct {
Reason string
}
func (e VSCCInfoLookupFailureError) Error() string
Error returns reasons which lead to the failure