func (b *Backoff) WithNonRetriableErrors(errs []string) *Backoff {
	newBackoff := *b
	newBackoff.NonRetriableErrors = errs
	return &newBackoff
}
// WithNonRetriableErrors returns a new *Backoff with NonRetriableErrors assigned.
WithNonRetriableErrors returns a new *Backoff with NonRetriableErrors assigned.
// WithNonRetriableErrors returns a new * Backoff with NonRetriableErrors assigned .
func (b *Backoff) WithNonRetriableErrors(errs []string) *Backoff {
	newBackoff := *b
	newBackoff.NonRetriableErrors = errs
	return &newBackoff
}
func ( b * Backoff ) WithNonRetriableErrors ( errs [ ] string ) * Backoff { newBackoff := * b newBackoff . NonRetriableErrors = errs return & newBackoff }
WithNonRetriableErrors returns a new *Backoff with NonRetriableErrors assigned.
WithNonRetriableErrors returns a new * Backoff with NonRetriableErrors assigned .