Use better names of alg error codes