l-ai-chat-client-go/errors.go
Kaien 9ac1206f2e Add reusable live chat Go SDK
Provide a standalone agent client for l-ai-chat with service-token auth, safe at-least-once subscriptions, ordered cumulative ACK tracking, and self-contained gRPC fake tests.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-09 21:17:31 +03:00

13 lines
433 B
Go

package chatclient
import "errors"
var (
ErrClosed = errors.New("chat client is closed")
ErrInvalidConfig = errors.New("invalid chat client configuration")
ErrStaleDelivery = errors.New("stale delivery")
ErrUnknownDelivery = errors.New("unknown delivery")
ErrSubscriptionReplaced = errors.New("subscription replaced")
ErrProtocolViolation = errors.New("chat service protocol violation")
)