statuses

package
v0.0.0-...-3122bcc Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// StatusResponseSuccessful uses for indicates successful status of request.
	StatusResponseSuccessful = 2000

	// StatusRedirectAfterSuccessful uses when need redirect in frontend user to another resource.
	StatusRedirectAfterSuccessful = 3003

	MinValueClientError = 4000
	// StatusBadFormatRequest uses when get bad request from frontend and errors with this status need frontend developers.
	StatusBadFormatRequest = 4000

	// StatusBadContentRequest uses when user has entered incorrect data and needs to show him this error.
	StatusBadContentRequest = 4400
	MaxValueClientError     = 4999

	// StatusInternalServer uses for indicates internal error status in server.
	StatusInternalServer = 5000
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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