error_code

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const Forbidden string = "ERR00004"
View Source
const InternalServerError string = "ERR00001"
View Source
const InvalidRequest string = "ERR00002"
View Source
const NotFound string = "ERR00005"
View Source
const Unauthorized string = "ERR00003"
View Source
const UnknownError string = "ERR00000"

Variables

This section is empty.

Functions

func GetErrorCode

func GetErrorCode(code string) string

func GetErrorMessage

func GetErrorMessage(code string) string

func GetHTTPStatusCode

func GetHTTPStatusCode(code string) int

Types

This section is empty.

Jump to

Keyboard shortcuts

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