errorhandler

package
v0.11.1-alpha Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(opts ...Option) fiber.Handler

Types

type Option

type Option func(*opts)

func WithAuthenticationErrorCode

func WithAuthenticationErrorCode(code int) Option

func WithAuthorizationErrorCode

func WithAuthorizationErrorCode(code int) Option

func WithCommunicationErrorCode

func WithCommunicationErrorCode(code int) Option

func WithInternalServerErrorCode

func WithInternalServerErrorCode(code int) Option

func WithMethodErrorCode

func WithMethodErrorCode(code int) Option

func WithNoRuleErrorCode

func WithNoRuleErrorCode(code int) Option

func WithPreconditionErrorCode

func WithPreconditionErrorCode(code int) Option

func WithVerboseErrors

func WithVerboseErrors(flag bool) Option

Jump to

Keyboard shortcuts

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