httperror

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WriteBadRequestError

func WriteBadRequestError(w http.ResponseWriter, err error)

WriteBadRequestError writes a bad request status code and the error message to the response writer.

func WriteStatusInternalServerError

func WriteStatusInternalServerError(w http.ResponseWriter, err error)

WriteStatusInternalServerError writes an internal server error status code and the error message to the response writer.

Types

This section is empty.

Jump to

Keyboard shortcuts

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