[all-commits] [llvm/llvm-project] 30bb0c: [lldb-dap] Adding a DAPError for showing users err...
John Harrison via All-commits
all-commits at lists.llvm.org
Thu Mar 20 15:33:27 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 30bb0c443e163b244d663c88821524b6e747747b
https://github.com/llvm/llvm-project/commit/30bb0c443e163b244d663c88821524b6e747747b
Author: John Harrison <harjohn at google.com>
Date: 2025-03-20 (Thu, 20 Mar 2025)
Changed paths:
M lldb/tools/lldb-dap/CMakeLists.txt
A lldb/tools/lldb-dap/DAPError.cpp
A lldb/tools/lldb-dap/DAPError.h
M lldb/tools/lldb-dap/Handler/RequestHandler.h
M lldb/tools/lldb-dap/Handler/SourceRequestHandler.cpp
M lldb/tools/lldb-dap/Protocol/ProtocolBase.cpp
M lldb/tools/lldb-dap/Protocol/ProtocolBase.h
Log Message:
-----------
[lldb-dap] Adding a DAPError for showing users error messages. (#132255)
The `DAPError` can be used to craft an error message that is displayed
to a user (with showUser=true).
Any request handler implementation using subclassing `RequestHandler<>`
should be able to use this.
I updated SourceRequestHandler to report DAPError's specifically.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list