Revision 8bf9fd275cb9c3bf650bcd12753cf12e6034a65a authored by Tam Mach on 24 February 2024, 11:28:40 UTC, committed by Jarno Rajahalme on 28 February 2024, 14:28:39 UTC
This commit is to move MockStream struct to stream_test.go as it's only
used in unit test.

Signed-off-by: Tam Mach <tam.mach@cilium.io>
1 parent 6fee46f
Raw File
error.go
// SPDX-License-Identifier: Apache-2.0
// Copyright Authors of Cilium

package resiliency

// retryableErr tracks errors that could be retried.
type retryableErr struct {
	error
}

// Retryable returns a new instance.
func Retryable(e error) retryableErr {
	return retryableErr{error: e}
}
back to top