Remove the last uses of 'using std::error_code'