Back to godoc.org

Package errors

v0.1.1
Latest Go to latest

The latest major version is .

Published: Feb 18, 2020 | License: Apache-2.0 | Module: gomodules.xyz/notify

Index

func HandleError

func HandleError(err error)

func Register

func Register(h Handler)

type Handler

type Handler interface {
	Handle(err error, st errors.StackTrace)
}

Handler is a error-handling middleware that receives an error and executes handlers in order.

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier