Exception: GoogleAnalytics::EventCollection::InvalidEventError
- Inherits:
-
StandardError
- Object
- StandardError
- GoogleAnalytics::EventCollection::InvalidEventError
- Defined in:
- lib/google-analytics/events/event_collection.rb
Instance Method Summary collapse
-
#initialize(non_event) ⇒ InvalidEventError
constructor
A new instance of InvalidEventError.
Constructor Details
#initialize(non_event) ⇒ InvalidEventError
Returns a new instance of InvalidEventError.
8 9 10 |
# File 'lib/google-analytics/events/event_collection.rb', line 8 def initialize(non_event) super("EventCollection#<< expects instances of Event, you passed #{non_event}") end |