package
Version:
v0.0.0-...-750fccc
Opens a new window with list of versions in this module.
Published: Feb 2, 2025
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
IsAPIError check if e is an API error
func ValidateParams(params map[string]interface{}) error
type APIError struct {
Code int64 `json:"retCode"`
Message string `json:"retMsg"`
}
APIError define API error when response status is 4xx or 5xx
Error return error code and message
Source Files
¶
Click to show internal directories.
Click to hide internal directories.