dbx_response

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Response

type Response interface {
	es_response.Response

	// Result of the API call.
	Result() es_json.Json

	// Dropbox API error. Returns empty instance if the response is success, or
	// the error type is not a dropbox api error.
	DropboxError() (err dbx_error.ErrorInfo)

	// The error about bad or expired token. This func will not return nil.
	ErrorAuth() dbx_error.ErrorAuth
	// The error about permission. This func will not return nil.
	ErrorAccess() dbx_error.ErrorAccess
	// The error about end point specific error. This func will not return nil.
	ErrorEndpointPath() dbx_error.ErrorEndpointPath
}

Jump to

Keyboard shortcuts

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