internal

package
v2.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MissingFromContext = "correlation is missing from context"
	MissingGebHeader   = "'" + trace.CorrelationIDField + "'" + " header is missing"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Error

type Error struct {
	Message string `json:"message"`
	Code    string `json:"code"`
}

func (*Error) Error

func (e *Error) Error() string

func (*Error) Fields

func (e *Error) Fields() []interface{}

type HTTPError

type HTTPError struct {
	Error Error `json:"error"`
}

func CorrelationIDMissing

func CorrelationIDMissing() *HTTPError

Jump to

Keyboard shortcuts

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