code

package
v0.0.0-...-94f544f Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2024 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Overview

Code generated by go generate; DO NOT EDIT. Code generated by go generate; DO NOT EDIT. Code generated by go generate; DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Code

type Code uint32
const (
	// DO NOT EDIT
	// gen code start
	InternalError Code = 10000 + iota
	UnknownError
	// AuthError 鉴权错误
	AuthErrorTokenHasBeenBlacklisted
	AuthErrorTokenIsInvalid
	AuthErrorNoPermission
	// RequestError 请求错误
	RequestErrorInvalidParams
	// DatabaseError 数据库错误
	DatabaseErrorRecordCreateFailed
	DatabaseErrorRecordDeleteFailed
	DatabaseErrorRecordPatchFailed
	DatabaseErrorRecordNotFound
	// OssError OSS错误
	OssErrorPutFailed
	OssErrorGetFailed
	// UserError 用户侧错误
	UserErrorRegisterNotAllowed
	UserErrorInvalidUsername
	UserErrorInvalidPassword
	UserErrorInvalidEmail
	UserErrorInvitationCodeEligibilityTimeNotReached
	UserErrorInvalidInvitationCode
	UserErrorInvitationCodeHasReachedLimit
)

请勿修改,常量之间不要有空行! DO NOT EDIT, no empty line between constants!

func (Code) String

func (c Code) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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