Duplicate error codes merged

Errors that meant the same thing under different codes now return one code each. Two statuses changed.