Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsHuaweiError ¶
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
Click to show internal directories.
Click to hide internal directories.