Avoid magically coercing err_code to a number.  Augh.