MCPcopy Create free account
hub / github.com/FactomProject/factom / newCustomInternalError

Function newCustomInternalError

wallet/wsapi/errors.go:73–75  ·  view source on GitHub ↗

Custom Errors

(data interface{})

Source from the content-addressed store, hash-verified

71// Custom Errors
72
73func newCustomInternalError(data interface{}) *factom.JSONError {
74 return factom.NewJSONError(-32603, "Internal error", data)
75}
76
77func newCustomInvalidParamsError(data interface{}) *factom.JSONError {
78 return factom.NewJSONError(-32602, "Invalid params", data)

Callers 15

handleV2RequestFunction · 0.85
handleWalletBalancesFunction · 0.85
handleRemoveAddressFunction · 0.85
handleAddressFunction · 0.85
handleAllAddressesFunction · 0.85
handleGenerateECAddressFunction · 0.85
handleImportAddressesFunction · 0.85
handleImportKoinifyFunction · 0.85
handleWalletBackupFunction · 0.85
handleAllTransactionsFunction · 0.85
handleNewTransactionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected