ProviderDiscoveryFailure

org.llm4s.llmconnect.spi.ProviderDiscoveryFailure
final case class ProviderDiscoveryFailure(detail: String, failure: Option[Throwable])

A service entry that discovery could not use.

Recording these rather than letting them propagate is the point of the hand-rolled iteration in ProviderRegistry.discover: one broken jar must not take out every other provider on the classpath.

Value parameters

detail

what went wrong, including the offending class name when java.util.ServiceLoader reported one.

failure

the throwable, kept for logging rather than for control flow.

Attributes

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

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product