Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ErrorDescription ¶
ErrorDescription contains standardized error messages and summaries
type GraphErrorInfo ¶
type GraphErrorInfo struct { StatusCode int ErrorCode string ErrorMessage string IsODataError bool AdditionalData map[string]interface{} Headers *abstractions.ResponseHeaders RequestDetails string RetryAfter string }
GraphErrorInfo contains extracted information from a Graph API error
func GraphError ¶
func GraphError(ctx context.Context, err error) GraphErrorInfo
GraphError extracts and processes error information from Graph API errors
Click to show internal directories.
Click to hide internal directories.