AgentServiceErrorType

Represents different types of service errors that can occur in the context of an agent. This enum is used to categorize the errors for better error handling and reporting.

Entries

Link copied to clipboard

Indicates that an unexpected type of message was sent to the agent service.

Link copied to clipboard

Indicates that a received message is malformed. This can occur when the message does not adhere to the expected format, structure, or content requirements.

Link copied to clipboard

Represents a specific error type indicating that the requested agent could not be found. This error may occur if the agent is unavailable, unregistered, or the identifier provided does not correspond to any existing agent in the system.

Link copied to clipboard

Represents an unexpected error encountered by the AI Agent.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
expect val name: String
Link copied to clipboard
expect val ordinal: Int

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.