errors

package
v1.10.11 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2021 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	KeyErrorFileProcess    = NewBillingServerErrorMsg("ks000001", "failed to process file")
	KeyErrorNotFound       = NewBillingServerErrorMsg("ks000002", "key not found")
	KeyErrorFailedToInsert = NewBillingServerErrorMsg("ks000003", "failed to insert key")
	KeyErrorCanceled       = NewBillingServerErrorMsg("ks000004", "unable to cancel key")
	KeyErrorFinish         = NewBillingServerErrorMsg("ks000005", "unable to finish key")
	KeyErrorReserve        = NewBillingServerErrorMsg("ks000006", "unable to reserve key")

	ErrBalanceHasMoreOneCurrency = errors.New("merchant balance has more one currency")
)

Functions

func NewBillingServerErrorMsg added in v1.8.0

func NewBillingServerErrorMsg(code, msg string, details ...string) *billingpb.ResponseErrorMessage

func NewBillingServerResponseError added in v1.8.0

func NewBillingServerResponseError(status int32, message *billingpb.ResponseErrorMessage) *billingpb.ResponseError

Types

This section is empty.

Jump to

Keyboard shortcuts

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