Method SetError
- Namespace
- LMKit.Agents.Observability
- Assembly
- LM-Kit.NET.dll
SetError(string)
Marks the span as failed.
public AgentSpan SetError(string message)
Parameters
messagestringThe error message.
Returns
- AgentSpan
This span for method chaining.