common

package
v0.0.0-...-2b0c82f Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2023 License: Apache-2.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_GateWayBadRequest           Err = 100000
	Err_GateWayMethodNotFound       Err = 100001
	Err_GateWayHttpNewRequestError  Err = 100002
	Err_GateWayServerHandlerError   Err = 100003
	Err_GateWayServerInnerCallError Err = 100004
	Err_InteractionBadRequest       Err = 10000
	Err_PaymentBadRequest           Err = 20000
	Err_PaymentDbInteralError       Err = 20001
	Err_PaymentStationInteralError  Err = 20002
	Err_IMBadRequest                Err = 30000
)

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