Exception: Qyu::Errors::JobNotFound

Inherits:
Base
  • Object
show all
Defined in:
lib/qyu/errors/job_not_found.rb

Overview

Qyu::Errors::JobNotFound

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id, original_error) ⇒ JobNotFound

Returns a new instance of JobNotFound


8
9
10
11
# File 'lib/qyu/errors/job_not_found.rb', line 8

def initialize(id, original_error)
  super("Job not found with id=#{id}.")
  @original_error = original_error
end

Instance Attribute Details

#original_errorObject (readonly)

Returns the value of attribute original_error


7
8
9
# File 'lib/qyu/errors/job_not_found.rb', line 7

def original_error
  @original_error
end