errors

package
v1.470.0 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Module for fx.

Functions

func Register

func Register(handler *Handler)

Register the error handler.

Types

type Handler

type Handler struct {
	// contains filtered or unexported fields
}

Handler is the error handler.

func NewHandler

func NewHandler(logger *logger.Logger) *Handler

NewHandler creates a new error handler.

func (*Handler) Handle

func (e *Handler) Handle(err error)

Handle handles the error.

Jump to

Keyboard shortcuts

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