Versions in this module Expand all Collapse all v3 v3.80.13 Sep 25, 2024 v3.80.12 Sep 24, 2024 Changes in this version + const TypeConditionallyRetryable + const TypeNoError + const TypeNonRetryable + const TypeRetryable + const TypeUndefined + func As(err error, targets ...interface{}) bool + func ErrIf(cond bool, err error) error + func FromOperation(operation operation.Status) *operationOption + func HideEOF(err error) error + func InvalidObject() invalidObjectOption + func Is(err error, targets ...error) bool + func IsContextError(err error) bool + func IsErrorFromServer(err error) bool + func IsOperationError(err error, codes ...Ydb.StatusIds_StatusCode) bool + func IsOperationErrorTransactionLocksInvalidated(err error) (isTLI bool) + func IsRetryObjectValid(err error) bool + func IsRetryableError(err error) bool + func IsTimeoutError(err error) bool + func IsTransportError(err error, codes ...grpcCodes.Code) bool + func IsYdb(err error) bool + func IterateByIssues(err error, ...) + func Join(errs ...error) error + func NewWithIssues(text string, issues ...error) error + func Operation(opts ...oeOpt) error + func Retryable(err error, opts ...RetryableErrorOption) error + func Transport(err error, opts ...teOpt) error + func Unretryable(err error) unretryableError + func WithAddress(address string) addressOption + func WithBackoff(t backoff.Type) backoffOption + func WithIssues(issues []*Ydb_Issue.IssueMessage) issuesOption + func WithName(name string) nameOption + func WithNodeID(nodeID uint32) nodeIDOption + func WithSkipDepth(skipDepth int) withStackTraceOption + func WithStackTrace(err error, opts ...withStackTraceOption) error + func WithStatusCode(code Ydb.StatusIds_StatusCode) statusCodeOption + func WithTraceID(traceID string) traceIDOption + func Wrap(err error) error + type Error interface + BackoffType func() backoff.Type + Code func() int32 + IsRetryObjectValid func() bool + Name func() string + Type func() Type + func OperationError(err error) Error + func RetryableError(err error) Error + func TransportError(err error) Error + type Issue struct + Code uint32 + Message string + Severity uint32 + type IssueIterator []*Ydb_Issue.IssueMessage + func (it IssueIterator) Get(i int) (issue Issue, nested IssueIterator) + func (it IssueIterator) Len() int + type RetryableErrorOption interface + type Type uint8 + func Check(err error) (code int64, errType Type, backoffType backoff.Type, invalidObject bool) + func (t Type) String() string