Description

NewRPCError constructs and returns a new JSON-RPC error that is suitable for use in a JSON-RPC Response object.

NewRPCError is referenced in 2 repositories

github.com/btcsuite/btcd

...