remove unused use statement
differentiate exceptions thrown when the JSON-RPC response is valid
but represents an error. This makes it possible to handle certain
exceptions differently in the client.