builtin

package
v1.2.118 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2024 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 any) bool

func Recover

func Recover(writer io.Writer, recoverHandler func(err any) any, brokenPipeMsg func() string) any

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