MCPcopy
hub / github.com/ory/hydra / WithHintf

Method WithHintf

fosite/errors.go:392–401  ·  view source on GitHub ↗
(hint string, args ...interface{})

Source from the content-addressed store, hash-verified

390}
391
392func (e *RFC6749Error) WithHintf(hint string, args ...interface{}) *RFC6749Error {
393 err := *e
394 if err.hintIDField == "" {
395 err.hintIDField = hint
396 }
397
398 err.hintArgs = args
399 err.HintField = fmt.Sprintf(hint, args...)
400 return &err
401}
402
403func (e *RFC6749Error) WithHint(hint string) *RFC6749Error {
404 err := *e

Callers 15

ValidateMethod · 0.80
decodeFlowFunction · 0.80
decodeVerifierFunction · 0.80
acceptUserCodeRequestMethod · 0.80
pairwiseObfuscateFunction · 0.80
issueLogoutVerifierMethod · 0.80

Calls

no outgoing calls

Tested by 2

TestErrorI18NFunction · 0.64
TestNewAuthorizeResponseFunction · 0.64