/
githubmirror
/
ydb-go-sdk
Обзор
Документация
Войти
/
githubmirror
/
ydb-go-sdk
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
coordination/errors.go
18 строк
834 B
Aleksey Myasnikov
fix linter issues
25 мар 2024, 18:57
25 мар 2024, 18:57
0ac1df3
Код
Авторство
О чём код?
package coordination import "errors" var ( // ErrOperationStatusUnknown indicates that the request has been sent to the server but no reply has been received. // The client usually automatically retries calls of that kind, but there are cases when it is not possible: // - the request is not idempotent, non-idempotent requests are never retried, // - the session was lost and its context is canceled. ErrOperationStatusUnknown = errors.New("operation status is unknown") // ErrSessionClosed indicates that the Session object is closed. ErrSessionClosed = errors.New("session is closed") // ErrAcquireTimeout indicates that the Session.AcquireSemaphore method could not acquire the semaphore before the // operation timeout (see options.WithAcquireTimeout). ErrAcquireTimeout = errors.New("acquire semaphore timeout") )