MCPcopy Index your code
hub / github.com/google/go-github / Error

Method Error

github/github.go:1695–1698  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1693}
1694
1695func (e *Error) Error() string {
1696 return fmt.Sprintf("%v error caused by %v field on %v resource",
1697 e.Code, e.Field, e.Resource)
1698}
1699
1700// UnmarshalJSON implements the json.Unmarshaler interface.
1701func (e *Error) UnmarshalJSON(data []byte) error {

Callers 15

TestError_ErrorFunction · 0.95
assertErrMethod · 0.45
runTestFunction · 0.45
assertEqualStringsFunction · 0.45
assertNilErrorFunction · 0.45
TestEmojisFunction · 0.45
TestAPIMetaFunction · 0.45
TestRateLimitsFunction · 0.45
TestOrganizationAuditLogFunction · 0.45
TestIssueEventsFunction · 0.45
TestUsers_GetFunction · 0.45

Calls

no outgoing calls

Tested by 15

TestError_ErrorFunction · 0.76
assertErrMethod · 0.36
runTestFunction · 0.36
assertEqualStringsFunction · 0.36
assertNilErrorFunction · 0.36
TestEmojisFunction · 0.36
TestAPIMetaFunction · 0.36
TestRateLimitsFunction · 0.36
TestOrganizationAuditLogFunction · 0.36
TestIssueEventsFunction · 0.36
TestUsers_GetFunction · 0.36