code: def raise_error(self, error):
          
          ex = exc.RPCError('Error calling remote procedure: %s' % error.error['message'])
          if self.raises_errors:
              raise ex
          return ex
docs: Raises the exception in the client.
  
          Called by the client to convert the :py:class:`RPCErrorResponse` into an Exception
          and raise or return it depending on the :py:attr:`raises_errors` attribute.
  
          :param error: The error response received from the server.
          :type error: :py:class:`RPCResponse`
          :rtype: :py:exc:`~tinyrpc.exc.RPCError` when :py:attr:`raises_errors` is False.
          :raises: :py:exc:`~tinyrpc.exc.RPCError` when :py:attr:`raises_errors` is True.