errorhandler

package
v1.0.23 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleError added in v1.0.16

func HandleError[T any](
	logger logger.LoggerInterface,
	err error,
	method string,
	span trace.Span,
	fields ...zap.Field,
) (T, error)

func HandlerErrorPagination added in v1.0.16

func HandlerErrorPagination[T any](
	logger logger.LoggerInterface,
	err error,
	method string,
	span trace.Span,
	fields ...zap.Field,
) (T, *int, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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