* Helper function to describe an issue with an event object * @param {!string} valueName * @param {?*} value * @returns {!string}
(valueName, value)
| 7173 | * @returns {!string} |
| 7174 | */ |
| 7175 | function createEventErrorMessage(valueName, value) { |
| 7176 | return 'Event has an invalid ' + valueName + '(' + value + ')'; |
| 7177 | } |
| 7178 | |
| 7179 | /** |
| 7180 | * Throws an error if the event is invalid. |