AgentServiceError

@Serializable
data class AgentServiceError(val type: AgentServiceErrorType, val message: String)(source)

Represents an error response from the agent service.

This class encapsulates details about errors that may occur during interactions with the agent service. Each error is characterized by a specific type and an associated human-readable message providing additional context about the error.

The error type is defined using the AgentServiceErrorType enum, which categorizes errors into different types such as unexpected errors, malformed messages, or agent not found scenarios.

Constructors

Link copied to clipboard
constructor(type: AgentServiceErrorType, message: String)

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Converts the current AgentServiceError instance into a corresponding AgentEngineException instance.