Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type APIError ¶
APIError is a generic struct for an api error on databricks
func (*APIError) IsRetriable ¶
IsRetriable returns true if error is retriable
func (*APIError) IsTooManyRequests ¶
IsTooManyRequests shows rate exceeded limits
type APIErrorBody ¶
type APIErrorBody struct { ErrorCode string `json:"error_code,omitempty"` Message string `json:"message,omitempty"` // The following two are for scim api only // for RFC 7644 Section 3.7.3 https://tools.ietf.org/html/rfc7644#section-3.7.3 ScimDetail string `json:"detail,omitempty"` ScimStatus string `json:"status,omitempty"` ScimType string `json:"scimType,omitempty"` API12Error string `json:"error,omitempty"` }
APIErrorBody maps "proper" databricks rest api errors to a struct
Click to show internal directories.
Click to hide internal directories.