Implement stub functions to handle JSON-RPC success/error responses.