Exception: Leann::EmptyIndexError

Inherits:
Error
  • Object
show all
Defined in:
lib/leann/errors.rb

Overview

Raised when no documents are provided to builder

Instance Method Summary collapse

Constructor Details

#initializeEmptyIndexError

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