errno

package
v0.0.0-...-55e1567 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2023 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var KitexUnusedProtection = struct{}{}

KitexUnusedProtection is used to prevent 'imported and not used' error.

Functions

This section is empty.

Types

type Err

type Err int64
const (
	Err_Success              Err = 0
	Err_ParamsErr            Err = 1
	Err_ServiceErr           Err = 2
	Err_RPCInteractionErr    Err = 10000
	Err_InteractionServerErr Err = 10001
	Err_RPCSocialityErr      Err = 20000
	Err_SocialityServerErr   Err = 20001
	Err_RPCUserErr           Err = 30000
	Err_UserServerErr        Err = 30001
	Err_UserAlreadyExistErr  Err = 30002
	Err_UserNotFoundErr      Err = 30003
	Err_AuthorizeFailErr     Err = 30004
	Err_RPCVideoErr          Err = 40000
	Err_VideoServerErr       Err = 40001
	Err_RPCChatErr           Err = 50000
	Err_ChatServerErr        Err = 50001
)

func ErrFromString

func ErrFromString(s string) (Err, error)

func ErrPtr

func ErrPtr(v Err) *Err

func (*Err) Scan

func (p *Err) Scan(value interface{}) (err error)

func (Err) String

func (p Err) String() string

func (*Err) Value

func (p *Err) Value() (driver.Value, error)

Jump to

Keyboard shortcuts

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