Exception: Leann::EmptyIndexError
- Defined in:
- lib/leann/errors.rb
Overview
Raised when no documents are provided to builder
Instance Method Summary collapse
-
#initialize ⇒ EmptyIndexError
constructor
A new instance of EmptyIndexError.
Constructor Details
#initialize ⇒ EmptyIndexError
Returns a new instance of EmptyIndexError.
67 68 69 |
# File 'lib/leann/errors.rb', line 67 def initialize super("Cannot build an empty index. Add at least one document.") end |