Remove all uses of 'using std::error_code' from headers.