connectionErrorf creates an ConnectionError with the specified error description.
(temp bool, e error, format string, a ...any)
| 679 | |
| 680 | // connectionErrorf creates an ConnectionError with the specified error description. |
| 681 | func connectionErrorf(temp bool, e error, format string, a ...any) ConnectionError { |
| 682 | return ConnectionError{ |
| 683 | Desc: fmt.Sprintf(format, a...), |
| 684 | temp: temp, |
| 685 | err: e, |
| 686 | } |
| 687 | } |
| 688 | |
| 689 | // ConnectionError is an error that results in the termination of the |
| 690 | // entire connection and the retry of all the active streams. |
no outgoing calls