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.
Click to show internal directories.
Click to hide internal directories.