errors

package
v1.31.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 11, 2024 License: Apache-2.0 Imports: 1 Imported by: 112

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL