Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CPChain/chain
/ Error
Method
Error
api/rpc/types.go:91–91 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
89
// Error wraps RPC errors, which contain an error code in addition to the message.
90
type
Error
interface
{
91
Error() string
// returns the message
92
ErrorCode() int
// returns the code
93
}
94
Callers
15
TestHome
Function · 0.65
main
Function · 0.65
Connect
Function · 0.65
GetAddressAndKey
Function · 0.65
PrepareCpclient
Function · 0.65
main
Function · 0.65
DeployCampaign
Function · 0.65
UpdateCampaignParameters
Function · 0.65
DeployRNode
Function · 0.65
DeployRpt
Function · 0.65
TestRpt
Function · 0.65
DeployNetwork
Function · 0.65
Implementers
7
methodNotFoundError
api/rpc/errors.go
invalidRequestError
api/rpc/errors.go
invalidMessageError
api/rpc/errors.go
invalidParamsError
api/rpc/errors.go
callbackError
api/rpc/errors.go
shutdownError
api/rpc/errors.go
jsonError
api/rpc/json.go
Calls
no outgoing calls
Tested by
15
TestHome
Function · 0.52
TestRpt
Function · 0.52
TestMainnetInitContract
Function · 0.52
TestDevInitContract
Function · 0.52
TestRecipientEmpty
Function · 0.52
TestRecipientNormal
Function · 0.52
checkError
Function · 0.52
TestCopyDporSnap
Function · 0.52
TestBlockDporRlp
Function · 0.52
TestDporSignatureJsonEncoding
Function · 0.52
TestDporSnapJsonEncoding
Function · 0.52
TestBloom
Function · 0.52