isDialError function

bool isDialError(
  1. Object e
)

IsDialError returns true if the AutoNAT peer signalled an error dialing back

Implementation

bool isDialError(Object e) {
  return e is AutoNATError && e.isDialError;
}