Exception: Pipeline::InvalidStatusError

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

Instance Method Summary collapse

Constructor Details

#initialize(status) ⇒ InvalidStatusError

Returns a new instance of InvalidStatusError.



5
6
7
# File 'lib/pipeline/errors.rb', line 5

def initialize(status)
  super("Status is already #{status.to_s.gsub(/_/, ' ')}")
end