Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIError ¶
func NewAPIError ¶
type CollectionError ¶
type CollectionError struct {
ErrorCode components.CollectionErrorErrorCode `json:"errorCode"`
HTTPMeta components.HTTPMetadata `json:"-"`
}
func (*CollectionError) Error ¶
func (e *CollectionError) Error() string
type ErrorResponse ¶ added in v0.11.29
type ErrorResponse struct {
// Client-facing error message describing what went wrong
Message *string `json:"message,omitempty"`
HTTPMeta components.HTTPMetadata `json:"-"`
}
ErrorResponse - Error response returned for failed requests
func (*ErrorResponse) Error ¶ added in v0.11.29
func (e *ErrorResponse) Error() string
type GleanDataError ¶
type GleanDataError struct {
// Indicates the gmail results could not be fetched due to bad token.
BadGmailToken *bool `json:"badGmailToken,omitempty"`
// Indicates the outlook results could not be fetched due to bad token.
BadOutlookToken *bool `json:"badOutlookToken,omitempty"`
// Indicates results could not be fetched due to invalid operators in the query.
InvalidOperators []components.InvalidOperatorValueError `json:"invalidOperators,omitempty"`
ErrorMessages []components.ErrorMessage `json:"errorMessages,omitempty"`
// Indicates the federated search results could not be fetched due to rate limiting.
FederatedSearchRateLimitError *bool `json:"federatedSearchRateLimitError,omitempty"`
HTTPMeta components.HTTPMetadata `json:"-"`
}
func (*GleanDataError) Error ¶
func (e *GleanDataError) Error() string
Click to show internal directories.
Click to hide internal directories.