We could use a better error message, i.e:

raise ValueError("The 'contentSource' parameter must be specified when creating an Evaluation")