util

package
v0.2.23 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2018 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateShimResponseFromError added in v0.2.5

func CreateShimResponseFromError(codedErr errors.Error, log *logging.Logger, stub shim.ChaincodeStubInterface) pb.Response

CreateShimResponseFromError creates shim response with codedErr as payload

func GetCreatorFromSignedProposal

func GetCreatorFromSignedProposal(signedProposal *pb.SignedProposal) ([]byte, error)

GetCreatorFromSignedProposal ...

func HandlePanic added in v0.2.5

func HandlePanic(resp *pb.Response, log *logging.Logger, stub shim.ChaincodeStubInterface)

HandlePanic handles a panic (if any) by populating error response

Types

This section is empty.

Directories

Path Synopsis
rolesmgr module
statemgr module

Jump to

Keyboard shortcuts

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