Exception: Okonomi::Taskmanager::NotFoundError
- Inherits:
-
StandardError
- Object
- StandardError
- Okonomi::Taskmanager::NotFoundError
- Defined in:
- lib/okonomi/taskmanager/not_found_error.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
readonly
Returns the value of attribute code.
-
#uri ⇒ Object
readonly
Returns the value of attribute uri.
Instance Method Summary collapse
-
#initialize(code:, message:, uri:) ⇒ NotFoundError
constructor
A new instance of NotFoundError.
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() @code = code @uri = uri end |
Instance Attribute Details
#code ⇒ Object (readonly)
Returns the value of attribute code.
4 5 6 |
# File 'lib/okonomi/taskmanager/not_found_error.rb', line 4 def code @code end |
#uri ⇒ Object (readonly)
Returns the value of attribute uri.
4 5 6 |
# File 'lib/okonomi/taskmanager/not_found_error.rb', line 4 def uri @uri end |