Clearer error messages for known error codes