httperrors

package
v0.0.0-...-a347a26 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	HTTPErrorTypeGeneric string = "generic"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type HTTPError

type HTTPError struct {
	types.PublicHTTPError
	Internal       error                  `json:"-`
	AdditionalData map[string]interface{} `json:"-`
}

func (*HTTPError) Error

func (e *HTTPError) Error() string

type HTTPValidationError

type HTTPValidationError struct {
	types.PublicHTTPValidationError
	Internal       error                  `json:"-"`
	AdditionalData map[string]interface{} `json:"-"`
}

func (*HTTPValidationError) Error

func (e *HTTPValidationError) Error() string

Jump to

Keyboard shortcuts

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