(bool, err=IFC)
Raise IFC if condition is met.
Raise IFC if condition is met.
Raise IFC if condition is met .
def throw_if(bool, err=IFC):
    """Raise IFC if condition is met."""
    if bool:
        raise BASICError(err)
def throw_if ( bool , err = IFC ) : if bool : raise BASICError ( err )