Remove the RPC failed callback

Instead of providing a callback hook that is fired when rpc_failed is
called, just take the given message and raise an RPC failed error.