Exception: FastCI::EventNotSupportedError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/fast_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/fast_ci/exceptions.rb', line 11

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