// Errorf will return the Formatted error object
Errorf will return the Formatted error object
// Errorf will return the Formatted error object
func Errorf(code codes.Code, userErrCode int64, temporary bool, msg string, args ...interface{}) error {
	return &Error{
		Code:          int64(code),
		Message:       fmt.Sprintf(msg, args...),
		UserErrorCode: userErrCode,
		Temporary:     temporary,
	}
}
func Errorf ( code codes . Code , userErrCode int64 , temporary bool , msg string , args ... interface { } ) error { return & Error { Code : int64 ( code ) , Message : fmt . Sprintf ( msg , args ... ) , UserErrorCode : userErrCode , Temporary : temporary , } }
Errorf will return the Formatted error object
Errorf will return the Formatted error object