mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-22 01:08:56 +00:00
LibJS: Implement the Error Cause proposal
Currently stage 3. https://github.com/tc39/proposal-error-cause
This commit is contained in:
parent
8d77a3297a
commit
862ba64037
Notes:
sideshowbarker
2024-07-18 12:24:12 +09:00
Author: https://github.com/linusg
Commit: 862ba64037
Pull-request: https://github.com/SerenityOS/serenity/pull/8007
11 changed files with 130 additions and 42 deletions
|
@ -14,7 +14,7 @@ class AggregateError : public Object {
|
|||
JS_OBJECT(Error, Object);
|
||||
|
||||
public:
|
||||
static AggregateError* create(GlobalObject&, String const& message, Vector<Value> const& errors);
|
||||
static AggregateError* create(GlobalObject&);
|
||||
|
||||
explicit AggregateError(Object& prototype);
|
||||
virtual ~AggregateError() override = default;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue