Safety
org.llm4s.error.Safety
@Stable
object Safety
Turns code that throws into a Result, and an exception into an LLMError.
The extensions in org.llm4s.syntax (Try(...).toResult, throwable.toLLMError) are these functions under another spelling.
Attributes
- Source
- Safety.scala
- Graph
-
- Supertypes
- Self type
-
Safety.type
Members list
In this article
