errhandler

package
v1.9.2 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ErrorHandler

type ErrorHandler func(error)

ErrorHandler handler for error

func NotifyOrPanic

func NotifyOrPanic(errChan chan error) ErrorHandler

NotifyOrPanic if given errChan is nil, panic on error, otherwise send error to errChan

Jump to

Keyboard shortcuts

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