Newf creates an error with a formatted error message. A stack trace is retained. Note: the format string is assumed to not contain PII and is included in Sentry reports. Use errors.Newf("%s", ) for errors strings that may contain PII information. See the doc of `New()` for more detai
(format string, args ...interface{})
| 58 | // |
| 59 | // See the doc of `New()` for more details. |
| 60 | func Newf(format string, args ...interface{}) error { return errutil.NewWithDepthf(1, format, args...) } |
| 61 | |
| 62 | // NewWithDepthf is like Newf() except the depth to capture the stack |
| 63 | // trace is configurable. |
no test coverage detected
searching dependent graphs…