This was originally suggested in D57738
LGTM, with the comment fix.
I'd rephrase this slightly to say "Concatenate a source file path and/or name with a std::error_code to form an Error object", and then delete the second sentence.
errorCodeToError(EC) seems more appropriate, given there is no string
Update this too