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