errcapture

package
v0.0.0-...-6b73929 Latest Latest
Warning

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

Go to latest
Published: May 5, 2023 License: Apache-2.0 Imports: 5 Imported by: 16

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Do

func Do(err *error, doer doFunc, format string, a ...interface{})

Do runs function and on error return error by argument including the given error (usually from caller function).

func ExhaustClose

func ExhaustClose(err *error, r io.ReadCloser, format string, a ...interface{})

ExhaustClose closes the io.ReadCloser with error capture but exhausts the reader before.

Types

This section is empty.

Jump to

Keyboard shortcuts

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