withTransientExceptions method

  1. @override
WaitStrategy withTransientExceptions(
  1. List<Type> exceptions
)
override

Appends exceptions to the transient list on this strategy and on all child strategies. Returns this.

Implementation

@override
WaitStrategy withTransientExceptions(List<Type> exceptions) {
  super.withTransientExceptions(exceptions);
  for (final s in strategies) {
    s.withTransientExceptions(exceptions);
  }
  return this;
}