Same as New, but with fmt.Printf-style parameters.
(format string, args ...interface{})
| 135 | |
| 136 | // Same as New, but with fmt.Printf-style parameters. |
| 137 | func Newf(format string, args ...interface{}) DropboxError { |
| 138 | return newBaseError(nil, fmt.Sprintf(format, args...)) |
| 139 | } |
| 140 | |
| 141 | // Wraps another error in a new baseError. |
| 142 | func Wrap(err error, msg string) DropboxError { |