dbx_response_impl

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: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrorBadContentResponse  = errors.New("bad response from server: res_code 400 with html body")
	ErrorInternalServerError = errors.New("internal server error")
)

Functions

func AssertResponse

func AssertResponse(res es_response.Response) es_response.Response

func NewAbort

func NewAbort(res es_response.Response, err error) dbx_response.Response

Types

type ErrorMissingScope

type ErrorMissingScope struct {
	ErrorSummary  string `json:"error_summary" path:"error_summary"`
	RequiredScope string `json:"required_scope" path:"error.required_scope"`
}

func (ErrorMissingScope) Error

func (z ErrorMissingScope) Error() string

Jump to

Keyboard shortcuts

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