catch InvalidTransition errors
handle invalid transition gracefully spec