github.com/ydb-platform/ydb-go-sdk/v3@v3.89.2/coordination/errors.go (about) 1 package coordination 2 3 import "errors" 4 5 var ( 6 // ErrOperationStatusUnknown indicates that the request has been sent to the server but no reply has been received. 7 // The client usually automatically retries calls of that kind, but there are cases when it is not possible: 8 // - the request is not idempotent, non-idempotent requests are never retried, 9 // - the session was lost and its context is canceled. 10 ErrOperationStatusUnknown = errors.New("operation status is unknown") 11 12 // ErrSessionClosed indicates that the Session object is closed. 13 ErrSessionClosed = errors.New("session is closed") 14 15 // ErrAcquireTimeout indicates that the Session.AcquireSemaphore method could not acquire the semaphore before the 16 // operation timeout (see options.WithAcquireTimeout). 17 ErrAcquireTimeout = errors.New("acquire semaphore timeout") 18 )