def delete_record(zone_id, record_id, profile):
    conn = _get_driver(profile=profile)
    record = conn.get_record(zone_id=zone_id, record_id=record_id)
    return conn.delete_record(record)
Return an error response when something is not found, like a object in a database.
dataset/ETHPy150Open saltstack/salt/salt/modules/libcloud_dns.py/delete_record--crossover with--dataset/ETHPy150Open haukurk/flask-restapi-recipe/restapi/modules/errors.py/error_object_not_found