model

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrBadRequest = errors.New("bad request")
View Source
var ErrForbidden = fmt.Errorf("forbidden")
View Source
var ErrInternalServerError = errors.New("internal server error")
View Source
var ErrNotFound = fmt.Errorf("not found")
View Source
var ErrUnauthorized = fmt.Errorf("unauthorized")

Functions

func GetError

func GetError(code int) error

func GetStatusCode

func GetStatusCode(err error) int

Types

This section is empty.

Jump to

Keyboard shortcuts

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