errors

package
v2.1.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 15, 2020 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TxValidationError

type TxValidationError interface {
	error
	IsValid() bool
}

TxValidationError marks that the error is related to validation of a transaction

type VSCCEndorsementPolicyError

type VSCCEndorsementPolicyError struct {
	Err error
}

VSCCEndorsementPolicyError error to mark transaction failed endorsement policy check

func (VSCCEndorsementPolicyError) Error

Error returns reasons which lead to the failure

func (*VSCCEndorsementPolicyError) IsValid

func (e *VSCCEndorsementPolicyError) IsValid() bool

type VSCCExecutionFailureError

type VSCCExecutionFailureError struct {
	Err error
}

VSCCExecutionFailureError error to indicate failure during attempt of executing VSCC endorsement policy check

func (VSCCExecutionFailureError) Error

Error returns reasons which lead to the failure

func (*VSCCExecutionFailureError) IsValid

func (e *VSCCExecutionFailureError) IsValid() bool

type VSCCInfoLookupFailureError

type VSCCInfoLookupFailureError struct {
	Reason string
}

VSCCInfoLookupFailureError error to indicate inability to obtain VSCC information from LCCC

func (VSCCInfoLookupFailureError) Error

Error returns reasons which lead to the failure

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL