errors

package
v0.0.0-...-7013275 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2021 License: MPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeferCheck

func DeferCheck(fs ...func() error)

DeferCheck wraps a deferred function and prints the error if any.

Types

type SkipError

type SkipError struct {
	Part   string
	Reason string
}

SkipError indicates an action was skipped.

func (*SkipError) Error

func (e *SkipError) Error() string

Error return a string explaining why it was skipped.

Jump to

Keyboard shortcuts

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