MCPcopy Index your code
hub / github.com/ory/fosite / WithDebug

Method WithDebug

errors.go:411–415  ·  view source on GitHub ↗
(debug string)

Source from the content-addressed store, hash-verified

409}
410
411func (e *RFC6749Error) WithDebug(debug string) *RFC6749Error {
412 err := *e
413 err.DebugField = debug
414 return &err
415}
416
417func (e *RFC6749Error) WithDebugf(debug string, args ...interface{}) *RFC6749Error {
418 return e.WithDebug(fmt.Sprintf(debug, args...))

Callers 15

WithDebugfMethod · 0.95
wrapSigningKeyFailureFunction · 0.80
newAuthorizeRequestMethod · 0.80
TestWriteAuthorizeErrorFunction · 0.80
NewAccessRequestMethod · 0.80
NewRevocationRequestMethod · 0.80
ResolveMethod · 0.80

Calls

no outgoing calls

Tested by 2

TestWriteAuthorizeErrorFunction · 0.64