httputil

package
v0.0.0-...-9e81241 Latest Latest
Warning

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

Go to latest
Published: May 30, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewError

func NewError(ctx echo.Context, status int, msg string) error

func NewErrorWithError

func NewErrorWithError(ctx echo.Context, err error) error

Types

type HTTPError

type HTTPError struct {
	Message string `json:"message" example:"status bad request"`
}

HTTPError example.

Jump to

Keyboard shortcuts

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