Help us shape the future of Go! Take the 2026 Go Developer Survey

errors

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2019 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ErrSnapAlreadyExists

type ErrSnapAlreadyExists struct {
	// contains filtered or unexported fields
}

ErrSnapAlreadyExists is used to indicate when a snapshot is thought to be knew, but in fact is already present

func SnapAlreadyExists

func SnapAlreadyExists(err error) ErrSnapAlreadyExists

SnapAlreadyExists wraps error

type ErrSnapNotFound

type ErrSnapNotFound struct {
	// contains filtered or unexported fields
}

ErrSnapNotFound indicates that a snapshot cannot be located

func SnapNotFound

func SnapNotFound(err error) ErrSnapNotFound

SnapNotFound wraps error

type ErrSnapsEmpty

type ErrSnapsEmpty struct {
	// contains filtered or unexported fields
}

ErrSnapsEmpty indicates that no snaps were loaded when it was expected that they would be

func SnapsEmpty

func SnapsEmpty(err error) ErrSnapsEmpty

SnapsEmpty wraps error

type ErrSnapshotMismatch

type ErrSnapshotMismatch struct {
	// contains filtered or unexported fields
}

ErrSnapshotMismatch is returned when the snapshot generated doesn't match that on file

func SnapshotMismatch

func SnapshotMismatch(err error) ErrSnapshotMismatch

SnapshotMismatch wraps error

Jump to

Keyboard shortcuts

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