huawei

package
v0.5.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 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 Error added in v0.5.0

type Error 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 NewError added in v0.5.0

func NewError(err error) (*Error, error)

func (*Error) MarshalIndent added in v0.5.0

func (e *Error) MarshalIndent() string

func (*Error) String added in v0.5.0

func (e *Error) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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