errors

package
v2.0.0-alpha.38+incomp... Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ParameterRequiredError

type ParameterRequiredError struct {
	ParameterName string
	ParentName    string
}

ParameterRequiredError indicates that the required parameter is missing.

func (ParameterRequiredError) Error

func (e ParameterRequiredError) Error() string

Error returns the description of ParameterRequiredError.

type ParameterValueNotAllowedError

type ParameterValueNotAllowedError struct {
	ParameterName  string
	ParameterValue string
	AllowedValues  []string
}

ParameterValueNotAllowedError indicates that the parameter value is not allowed.

func (ParameterValueNotAllowedError) Error

Error returns the description of ParameterValueNotAllowedError.

type QingCloudError

type QingCloudError struct {
	RetCode int    `json:"ret_code"`
	Message string `json:"message"`
}

QingCloudError stores information of a QingCloud error response.

func (QingCloudError) Error

func (ise QingCloudError) Error() string

Error returns the description of QingCloud error response.

Jump to

Keyboard shortcuts

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