errors

package
v3.0.0-...-8a73552 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ErrorCode

type ErrorCode int
const (
	ErrParam ErrorCode = iota + 10000
	ErrNoAppId
	ErrNoSecret
	ErrNoMchId
	ErrNoConfig
	ErrNoCipher
	ErrNoSerialNo
	ErrNoApiV3Key
	ErrNoSDKRequest
	ErrNoCertificate
	ErrNoHttpRequest
	ErrNoHttpResponse
	ErrInvalidResource
	ErrInvalidHashType
	ErrImageFormatType
	ErrVideoFormatType
	ErrInvalidSessionKey
	ErrCheckHashValueFail
	ErrMarshalFailInvalidDataType
)

func New

func New(code int) ErrorCode

func (ErrorCode) Error

func (code ErrorCode) Error() (err string)

Jump to

Keyboard shortcuts

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