Back to godoc.org

Package errors

v0.0.0-...-aba0fd1
Latest Go to latest

The latest major version is .

Published: Oct 12, 2020 | License: AGPL-3.0 | Module: github.com/cozy/cozy-stack

Index

func ErrorHandler

func ErrorHandler(err error, c echo.Context)

ErrorHandler is the default error handler of our APIs.

func HTMLErrorHandler

func HTMLErrorHandler(err error, c echo.Context)

HTMLErrorHandler is the default fallback error handler for error rendered in HTML pages, mainly for users, assets and routes that are not part of our API per-se.

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

Jump to identifier

Keyboard shortcuts

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