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 New ¶
func New(res es_response.Response) dbx_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
Click to show internal directories.
Click to hide internal directories.