A trade union has called for hundreds of doctors who received the wrong result in a key exam they took nearly 18 months ago to be compensated after a "catastrophic" and "life-altering" error.