Errorf creates a formatted error wrapped in a CodedError. This is a convenience function that combines fmt.Errorf with MakeCodedError.
(code string, format string, args ...interface{})
| 64 | // Errorf creates a formatted error wrapped in a CodedError. |
| 65 | // This is a convenience function that combines fmt.Errorf with MakeCodedError. |
| 66 | func Errorf(code string, format string, args ...interface{}) error { |
| 67 | return MakeCodedError(code, fmt.Errorf(format, args...)) |
| 68 | } |
no test coverage detected