Table of Contents

Method SetError

Namespace
LMKit.Agents.Observability
Assembly
LM-Kit.NET.dll

SetError(string)

Marks the span as failed.

public AgentSpan SetError(string message)

Parameters

message string

The error message.

Returns

AgentSpan

This span for method chaining.