Skip to content

Commit c6a9796

Browse files
committed
Fixing the EndOfFileError error code.
1 parent c8a3e84 commit c6a9796

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/tools/lldb-dap/Transport.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class EndOfFileError : public llvm::ErrorInfo<EndOfFileError> {
3434
OS << "End of file reached.";
3535
}
3636
std::error_code convertToErrorCode() const override {
37-
return std::make_error_code(std::errc::timed_out);
37+
return llvm::inconvertibleErrorCode();
3838
}
3939
};
4040

0 commit comments

Comments
 (0)