allerror

package
v0.0.0-...-b486baa Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ErrorCodeAccessTokenMissing = iota + 10000
	ErrorCodeAccessTokenInvalid
	ErrorCodeSensitiveContent
	ErrorCodeTooManyRequest
	ErrorCodeReqTimeout
	ErrorNotFound
	ErrorNotAllow
	ErrorInternalError
	ErrorFinetune
	ErrorBadRequest
	ErrorBadRequestParam
	ErrorBadRequestBody
	ErrorPermissionDeny
	ErrorSystemError
)

Variables

This section is empty.

Functions

func New

func New(code int, msg string) errorImpl

New

func NewNotFound

func NewNotFound(msg string) notfoudError

NewNotFound

Types

This section is empty.

Jump to

Keyboard shortcuts

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