Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type GraphErrorInfo ¶
type GraphErrorInfo struct {
StatusCode int
ErrorCode string
ErrorMessage string
IsODataError bool
AdditionalData map[string]interface{}
}
GraphErrorInfo contains extracted information from a Graph API error
func GraphError ¶
func GraphError(ctx context.Context, err error) GraphErrorInfo
GraphError logs detailed information about errors returned by the Graph SDK and returns extracted error information for further processing
Click to show internal directories.
Click to hide internal directories.