Discover Packages
github.com/xlongit/fabric-sdk-go-gm
pkg
common
errors
multi
package
Version:
v0.0.0-...-8c86bb1
Opens a new window with list of versions in this module.
Published: Feb 5, 2021
License: Apache-2.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package multi is an error type that holds multiple errors. These errors
typically originate from operations that target multiple nodes.
For example, a transaction proposal with two endorsers could return
a multi error type if both endorsers return errors
Append error to Errors. If the first arg is not an Errors object, one will be created
New Errors object with the given errors. Only non-nil errors are added.
Errors is used to represent multiple errors
Error implements the error interface to return a string representation of Errors
ToError converts Errors to the error interface
returns nil if no errors are present, a single error object if only one is present
Source Files
¶
Click to show internal directories.
Click to hide internal directories.