Method IsCancellation(Exception, CancellationToken)

Assembly: redb.Route.dll

True when the exception is the cancellation ct asked for. Everything else —
including an raised while ct is still
live — is a failure error handling must see.

public static bool IsCancellation(Exception ex, CancellationToken ct)