Raise error if transition is not applicable