error_handler

package
v1.0.0-beta.8 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsEnabled

func IsEnabled() bool

func Register

func Register(ctx context.Context, server *echo.Server) error

Register registers the error handler for echo.

The error handler and converter middleware are registered. The handler handles how the application's errors will be sent in the response. And the converter converts application errors into echo errors.

If the New Relic agent integration for Echo is used, this Register function must be called after the New Relic agent Register function.

Types

This section is empty.

Jump to

Keyboard shortcuts

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