{"modulePath":"github.com/2lambda123/hyperledger-fabric","version":"v2.1.1+incompatible","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package errors\n\n## Types\n\n```go\ntype TxValidationError interface {\n\terror\n\tIsValid() bool\n}\n```\nTxValidationError marks that the error is related to validation of a transaction\n\n```go\ntype VSCCEndorsementPolicyError struct {\n\tErr error\n}\n```\nVSCCEndorsementPolicyError error to mark transaction failed endorsement policy check\n\n```go\nfunc (e VSCCEndorsementPolicyError) Error() string\n```\nError returns reasons which lead to the failure\n\n```go\nfunc (e *VSCCEndorsementPolicyError) IsValid() bool\n```\n\n```go\ntype VSCCExecutionFailureError struct {\n\tErr error\n}\n```\nVSCCExecutionFailureError error to indicate failure during attempt of executing VSCC endorsement policy check\n\n```go\nfunc (e VSCCExecutionFailureError) Error() string\n```\nError returns reasons which lead to the failure\n\n```go\nfunc (e *VSCCExecutionFailureError) IsValid() bool\n```\n\n```go\ntype VSCCInfoLookupFailureError struct {\n\tReason string\n}\n```\nVSCCInfoLookupFailureError error to indicate inability to obtain VSCC information from LCCC\n\n```go\nfunc (e VSCCInfoLookupFailureError) Error() string\n```\nError returns reasons which lead to the failure\n\n","path":"github.com/2lambda123/hyperledger-fabric/common/errors","name":"errors","synopsis":"","isRedistributable":true}
