Exception: Aric::Error::JobNotFound

Inherits:
StandardError
  • Object
show all
Defined in:
lib/aric/error/job_name_required.rb

Instance Method Summary collapse

Constructor Details

#initialize(job) ⇒ JobNotFound

Returns a new instance of JobNotFound.



4
5
6
# File 'lib/aric/error/job_name_required.rb', line 4

def initialize(job)
  @job = job
end

Instance Method Details

#to_sObject



8
9
10
# File 'lib/aric/error/job_name_required.rb', line 8

def to_s
  "Unkonw job specified `#{@job}`"
end