Exception: Okonomi::Taskmanager::NotFoundError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/okonomi/taskmanager/not_found_error.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(code:, message:, uri:) ⇒ NotFoundError

Returns a new instance of NotFoundError.



6
7
8
9
10
# File 'lib/okonomi/taskmanager/not_found_error.rb', line 6

def initialize(code:, message:, uri:)
  super(message)
  @code = code
  @uri = uri
end

Instance Attribute Details

#codeObject (readonly)

Returns the value of attribute code.



4
5
6
# File 'lib/okonomi/taskmanager/not_found_error.rb', line 4

def code
  @code
end

#uriObject (readonly)

Returns the value of attribute uri.



4
5
6
# File 'lib/okonomi/taskmanager/not_found_error.rb', line 4

def uri
  @uri
end