errors

package
v2.2.9+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2017 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 QingStorError

type QingStorError struct {
	StatusCode int

	Code         string `json:"code"`
	Message      string `json:"message"`
	RequestID    string `json:"request_id"`
	ReferenceURL string `json:"url"`
}

QingStorError stores information of an QingStor error response.

func (QingStorError) Error

func (qse QingStorError) Error() string

Error returns the description of QingStor error response.

Jump to

Keyboard shortcuts

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