huawei

package
v0.3.3-rc2 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsHuaweiError

func IsHuaweiError(err error) bool

Types

type HuaweiError

type HuaweiError struct {
	StatusCode   int32  `json:"status_code,omitempty"`
	RequestID    string `json:"request_id,omitempty"`
	ErrorCode    string `json:"error_code,omitempty"`
	ErrorMessage string `json:"error_message,omitempty"`
}

func NewHuaweiError

func NewHuaweiError(err error) (*HuaweiError, error)

func (*HuaweiError) MarshalIndent

func (e *HuaweiError) MarshalIndent() string

func (*HuaweiError) String

func (e *HuaweiError) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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