Exception: Megaphone::Client::MegaphoneInvalidEventError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/megaphone/client/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(msg) ⇒ MegaphoneInvalidEventError

Returns a new instance of MegaphoneInvalidEventError.



19
20
21
22
# File 'lib/megaphone/client/errors.rb', line 19

def initialize(msg)
  super("Invalid Megaphone event was not sent: #{msg}")
  @msg = msg
end