Documentation ¶ Index ¶ func HandleError[T any](logger logger.LoggerInterface, err error, method string, span trace.Span, ...) (T, error) func HandlerErrorPagination[T any](logger logger.LoggerInterface, err error, method string, span trace.Span, ...) (T, *int, error) 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. Source Files ¶ View all Source files errorhandler.go Click to show internal directories. Click to hide internal directories.