MCPcopy Create free account
hub / github.com/dropbox/dbxcli / shouldAttachMemberIDErrorDetails

Function shouldAttachMemberIDErrorDetails

cmd/output.go:523–534  ·  view source on GitHub ↗
(err error)

Source from the content-addressed store, hash-verified

521}
522
523func shouldAttachMemberIDErrorDetails(err error) bool {
524 if err == nil {
525 return false
526 }
527 if _, ok := dropboxAPIErrorSummary(err); ok {
528 return true
529 }
530 if _, ok := dropboxAPISummaryFromMessage(err.Error()); ok {
531 return true
532 }
533 return false
534}
535
536func cloneJSONErrorDetails(details map[string]any) map[string]any {
537 if len(details) == 0 {

Callers 1

Calls 3

dropboxAPIErrorSummaryFunction · 0.85
ErrorMethod · 0.45

Tested by

no test coverage detected