Fixed error codes translation as they were wrong.