Change link result to enum indicating failure mode.