Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrCheckpointNotFound = fmt.Errorf("checkpoint is not found")
ErrCheckpointNotFound is reported when checkpoint is not found for a given key
Functions ¶
This section is empty.
Types ¶
type CorruptCheckpointError ¶ added in v1.31.0
type CorruptCheckpointError struct {
ActualCS, ExpectedCS uint64
}
ErrCorruptCheckpoint error is reported when checksum does not match. Check for it with:
var csErr *CorruptCheckpointError if errors.As(err, &csErr) { ... } if errors.Is(err, CorruptCheckpointError{}) { ... }
func (CorruptCheckpointError) Error ¶ added in v1.31.0
func (err CorruptCheckpointError) Error() string
func (CorruptCheckpointError) Is ¶ added in v1.31.0
func (err CorruptCheckpointError) Is(target error) bool
Click to show internal directories.
Click to hide internal directories.