Errorf return the tars.Error instance
(code int32, format string, args ...interface{})
| 27 | |
| 28 | // Errorf return the tars.Error instance |
| 29 | func Errorf(code int32, format string, args ...interface{}) *Error { |
| 30 | return &Error{Code: code, Message: fmt.Sprintf(format, args...)} |
| 31 | } |