/* * Copyright (c) 2021, Linus Groh * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include namespace JS { class AggregateError : public Object { JS_OBJECT(Error, Object); public: static AggregateError* create(GlobalObject&, String const& message, Vector const& errors); explicit AggregateError(Object& prototype); virtual ~AggregateError() override = default; }; }