Failure

org.llm4s.rag.loader.LoadResult.Failure
final case class Failure(source: String, error: LLMError, recoverable: Boolean) extends LoadResult

Failed to load document.

Value parameters

error

The error that occurred

recoverable

Whether the error is potentially recoverable (e.g., timeout)

source

Identifier for the failed source (path, URL, etc.)

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait LoadResult
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def isSuccess: Boolean

Inherited methods

def isFailure: Boolean

Attributes

Inherited from:
LoadResult
def isSkipped: Boolean

Attributes

Inherited from:
LoadResult
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
def toOption: Option[Document]

Get document if successful

Get document if successful

Attributes

Inherited from:
LoadResult