Back to

Package errors

Latest Go to latest
Published: Feb 18, 2020 | License: Apache-2.0 | Module:


Package Files

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.

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

Jump to identifier

Keyboard shortcuts

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