Text this: A union bound on the error probability of binary codes over block-fading channels