Exception: Leann::IndexNotFoundError
- Defined in:
- lib/leann/errors.rb
Overview
Raised when an index is not found
Instance Attribute Summary collapse
-
#index_name ⇒ Object
readonly
Returns the value of attribute index_name.
Instance Method Summary collapse
-
#initialize(index_name) ⇒ IndexNotFoundError
constructor
A new instance of IndexNotFoundError.
Constructor Details
#initialize(index_name) ⇒ IndexNotFoundError
Returns a new instance of IndexNotFoundError.
14 15 16 17 |
# File 'lib/leann/errors.rb', line 14 def initialize(index_name) @index_name = index_name super("Index not found: #{index_name}") end |
Instance Attribute Details
#index_name ⇒ Object (readonly)
Returns the value of attribute index_name.
12 13 14 |
# File 'lib/leann/errors.rb', line 12 def index_name @index_name end |