WithExposeDebug if set to true exposes debug messages
(exposeDebug bool)
| 465 | |
| 466 | // WithExposeDebug if set to true exposes debug messages |
| 467 | func (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). |
| 474 | func (e *RFC6749Error) GetDescription() string { |
no outgoing calls