Same as Wrap, but with fmt.Printf-style parameters.
(err error, format string, args ...interface{})
| 145 | |
| 146 | // Same as Wrap, but with fmt.Printf-style parameters. |
| 147 | func Wrapf(err error, format string, args ...interface{}) DropboxError { |
| 148 | return newBaseError(err, fmt.Sprintf(format, args...)) |
| 149 | } |
| 150 | |
| 151 | // Internal helper function to create new baseError objects, |
| 152 | // note that if there is more than one level of redirection to call this function, |
no test coverage detected