routers

package
v0.0.0-...-f8652d3 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APIError

type APIError struct {
	ErrorCode int    `json:"error_code"`
	Message   string `json:"message"`
	// contains filtered or unexported fields
}

func NewAPIError

func NewAPIError(httpStatusCode int, schemaRegistryErrorCode int, err error) *APIError

func (*APIError) Error

func (a *APIError) Error() string

func (*APIError) Render

func (a *APIError) Render(w http.ResponseWriter, r *http.Request) error

func (*APIError) Unwrap

func (a *APIError) Unwrap() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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