This returns a new baseError initialized with the given message and the current stack trace.
(msg string)
| 130 | // This returns a new baseError initialized with the given message and |
| 131 | // the current stack trace. |
| 132 | func New(msg string) DropboxError { |
| 133 | return newBaseError(nil, msg) |
| 134 | } |
| 135 | |
| 136 | // Same as New, but with fmt.Printf-style parameters. |
| 137 | func Newf(format string, args ...interface{}) DropboxError { |