errno

package
v1.3.33 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ECODE_SUCCESS      = 0
	ECODE_ORIGIN_ERROR = 5555

	// error in API
	ECODE_BAD_REQUEST_PARAM     = 400
	ECODE_WRONG_SIGN            = 401
	ECODE_RESOURCE_IS_NOT_READY = 503
	ECODE_NOT_FOUND             = 404
	ECODE_TIMEOUT               = 504
	ECODE_FAILED_HTTP_REQUEST   = 3004
	ECODE_ALREADY_EXISTING      = 3005
	ECODE_CONNECT_TIMEOUT       = 4040
	ECODE_INTERNAL_ERROR        = 5000
	ECODE_CSV_FILE_WRONG        = 5302
	ECODE_DB_FAILURE            = 5303
	ECODE_WRONG_STRATEGY_RESULT = 5304
)

Variables

This section is empty.

Functions

func ErrStr

func ErrStr(code int) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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