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 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"` HTTPMeta components.HTTPMetadata `json:"-"` }
func (*GleanDataError) Error ¶
func (e *GleanDataError) Error() string
Click to show internal directories.
Click to hide internal directories.