<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_struct(name):
 """Get a struct by it's name. Args: name: The name of the struct Returns: The struct's id Raises: exceptions.SarkStructNotFound: is the struct does not exist. """

    sid = idc.GetStrucIdByName(name)
    if sid == idaapi.BADADDR:
        raise exceptions.SarkStructNotFound()

    return sid