'Remove a transition by `name`.
Exception: `UnknownTransitionError`.'

def remove_transition(self, name):

    try:
        del self.transitions[name]
        self.transition_order.remove(name)
    except:
        raise UnknownTransitionError(name)
