builtin

package
v1.2.88 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2023 License: MIT Imports: 6 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ErrorIsBrokenPipe

func ErrorIsBrokenPipe(err interface{}) bool

func Recover

func Recover(writer io.Writer, recoverHandler func(err interface{}) interface{}, brokenPipeMsg func() string) interface{}

The Recover function allows a program to manage behavior of a panicking goroutine. affect as recoverHandler(recover()) brokenPipeMsg is called when panic for broken pipe

Types

This section is empty.

Jump to

Keyboard shortcuts

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