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

Function dropboxAPIErrorSummary

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

Source from the content-addressed store, hash-verified

615}
616
617func dropboxAPIErrorSummary(err error) (string, bool) {
618 for err != nil {
619 if summary, ok := dropboxAPIErrorSummaryValue(err); ok {
620 return summary, true
621 }
622 err = errors.Unwrap(err)
623 }
624 return "", false
625}
626
627func dropboxAPIErrorSummaryValue(err error) (string, bool) {
628 if err == nil {

Callers 3

jsonErrorDetailsFunction · 0.85
dropboxAPIJSONErrorCodeFunction · 0.85

Calls 2

UnwrapMethod · 0.45

Tested by

no test coverage detected