Exception: Pipeline::InvalidStatusError
- Inherits:
-
StandardError
- Object
- StandardError
- Pipeline::InvalidStatusError
- Defined in:
- lib/pipeline/errors.rb
Instance Method Summary collapse
-
#initialize(status) ⇒ InvalidStatusError
constructor
A new instance of InvalidStatusError.
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 |