Exception: RubyCI::EventNotSupportedError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/ruby_ci/exceptions.rb

Instance Method Summary collapse

Constructor Details

#initialize(event) ⇒ EventNotSupportedError

Returns a new instance of EventNotSupportedError.



11
12
13
14
15
# File 'lib/ruby_ci/exceptions.rb', line 11

def initialize(event)
  msg = "Event '#{event}' not supported. \n" \
        "Supported events are #{RubyCI::SUPPORTED_EVENTS.inspect}}"
  super(msg)
end