swagger

package
v0.0.0-...-16f8954 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ErrorHandler

func ErrorHandler(label string, err error) middleware.Responder

ErrorHandler is a convenience method for returning the appropriate response based on the error

func ErrorResponse

func ErrorResponse(err error) *models.ErrorResponse

ErrorResponse wraps the error in the api standard models.ErrorResponse object

Types

This section is empty.

Jump to

Keyboard shortcuts

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