Exception: Omnibus::ProjectAlreadyDirty

Inherits:
Error
  • Object
show all
Defined in:
lib/omnibus/exceptions.rb

Instance Method Summary collapse

Constructor Details

#initialize(project) ⇒ ProjectAlreadyDirty


293
294
295
296
297
298
299
300
301
302
# File 'lib/omnibus/exceptions.rb', line 293

def initialize(project)
  name = project.name
  culprit = project.culprit.name

  super <<-EOH
The project `#{name}' was already marked as dirty by `#{culprit}'. You cannot
mark a project as dirty twice. This is probably a bug in Omnibus and should be
reported.
EOH
end