org.llm4s.core.safety

Members list

Type members

Classlikes

Default mapping that preserves existing behavior.

Default mapping that preserves existing behavior.

Attributes

Supertypes
trait ErrorMapper
class Object
trait Matchable
class Any
Self type
trait ErrorMapper

Maps arbitrary Throwables into domain-specific LLMError values.

Maps arbitrary Throwables into domain-specific LLMError values.

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Safety

Pure helpers for safe, typed error handling. All helpers return Either-based results or cats ValidatedNec for aggregation.

Pure helpers for safe, typed error handling. All helpers return Either-based results or cats ValidatedNec for aggregation.

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
Safety.type
object UsingOps

Resource management helpers for automatic cleanup This file legitimately needs try-finally for low-level resource management

Resource management helpers for automatic cleanup This file legitimately needs try-finally for low-level resource management

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
UsingOps.type