errors

package
v2.0.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2020 License: Apache-2.0 Imports: 0 Imported by: 2,547

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TxValidationError added in v1.2.0

type TxValidationError interface {
	error
	IsValid() bool
}

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

type VSCCEndorsementPolicyError added in v1.1.0

type VSCCEndorsementPolicyError struct {
	Err error
}

VSCCEndorsementPolicyError error to mark transaction failed endorsement policy check

func (VSCCEndorsementPolicyError) Error added in v1.1.0

Error returns reasons which lead to the failure

func (*VSCCEndorsementPolicyError) IsValid added in v1.2.0

func (e *VSCCEndorsementPolicyError) IsValid() bool

type VSCCExecutionFailureError added in v1.1.0

type VSCCExecutionFailureError struct {
	Err error
}

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

func (VSCCExecutionFailureError) Error added in v1.1.0

Error returns reasons which lead to the failure

func (*VSCCExecutionFailureError) IsValid added in v1.2.0

func (e *VSCCExecutionFailureError) IsValid() bool

type VSCCInfoLookupFailureError added in v1.1.0

type VSCCInfoLookupFailureError struct {
	Reason string
}

VSCCInfoLookupFailureError error to indicate inability to obtain VSCC information from LCCC

func (VSCCInfoLookupFailureError) Error added in v1.1.0

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