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

Method WithExposeDebug

fosite/errors.go:467–471  ·  view source on GitHub ↗

WithExposeDebug if set to true exposes debug messages

(exposeDebug bool)

Source from the content-addressed store, hash-verified

465
466// WithExposeDebug if set to true exposes debug messages
467func (e *RFC6749Error) WithExposeDebug(exposeDebug bool) *RFC6749Error {
468 err := *e
469 err.exposeDebug = exposeDebug
470 return &err
471}
472
473// GetDescription returns a more description description, combined with hint and debug (when available).
474func (e *RFC6749Error) GetDescription() string {

Callers 5

forwardErrorMethod · 0.80
WriteAuthorizeErrorMethod · 0.80
writeJsonErrorMethod · 0.80
ErrorMethod · 0.80

Calls

no outgoing calls

Tested by 1

ErrorMethod · 0.64