handlers

package
v1.12.1 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HandlerError

type HandlerError struct {

	// The HTTP status code that will be returned to the API client.
	HTTPStatusCode int
	// contains filtered or unexported fields
}

HandlerError is for errors returned by the API handler funcs.

func NewHandlerError

func NewHandlerError(err error, statusCode int) *HandlerError

Jump to

Keyboard shortcuts

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