AggregateError.h 408 B

1234567891011121314151617181920212223
  1. /*
  2. * Copyright (c) 2021, Linus Groh <linusg@serenityos.org>
  3. *
  4. * SPDX-License-Identifier: BSD-2-Clause
  5. */
  6. #pragma once
  7. #include <LibJS/Runtime/Object.h>
  8. namespace JS {
  9. class AggregateError : public Object {
  10. JS_OBJECT(Error, Object);
  11. public:
  12. static AggregateError* create(GlobalObject&);
  13. explicit AggregateError(Object& prototype);
  14. virtual ~AggregateError() override = default;
  15. };
  16. }