/* * Copyright (c) 2021-2023, Linus Groh * * SPDX-License-Identifier: BSD-2-Clause */ #include #include #include namespace JS { GC_DEFINE_ALLOCATOR(AggregateError); GC::Ref AggregateError::create(Realm& realm) { return realm.create(realm.intrinsics().aggregate_error_prototype()); } AggregateError::AggregateError(Object& prototype) : Error(prototype) { } }