'Converts the given exception to the one with the _Remote suffix.'

def _to_remote_error(self, error):

    exc_info = (type(error), error, None)
    serialized = rpc_common.serialize_remote_exception(exc_info)
    remote_error = rpc_common.deserialize_remote_exception(serialized, ['heat.common.exception'])
    return remote_error
