Removing redundant numeric code attribute. Replaced its use in errors.errorCodes with the error name.
fixed broken test