mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-22 02:09:24 +00:00
LibJS: Allow assigning an error message after Error object creation
This will be used by structured deserialization in LibWeb.
This commit is contained in:
parent
fd6d868ae2
commit
3fb4e769d8
Notes:
github-actions[bot]
2025-07-18 14:11:17 +00:00
Author: https://github.com/trflynn89
Commit: 3fb4e769d8
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5492
Reviewed-by: https://github.com/ADKaster
Reviewed-by: https://github.com/shannonbooth
2 changed files with 33 additions and 27 deletions
|
@ -41,6 +41,8 @@ public:
|
|||
|
||||
ThrowCompletionOr<void> install_error_cause(Value options);
|
||||
|
||||
void set_message(String);
|
||||
|
||||
Vector<TracebackFrame, 32> const& traceback() const { return m_traceback; }
|
||||
|
||||
protected:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue