Throw exception if an action/trigger does not return an IIconProvider