"use strict";
/**
 * @license
 * Copyright 2022-2026 Matter.js Authors
 * SPDX-License-Identifier: Apache-2.0
 */
if (globalThis.SuppressedError === void 0) {
  class SuppressedError extends Error {
    error;
    suppressed;
    constructor(error, suppressed, message) {
      super(message);
      this.error = error;
      this.suppressed = suppressed;
    }
  }
  const factory = (error, suppressed, message) => new SuppressedError(error, suppressed, message);
  factory.prototype = SuppressedError.prototype;
  globalThis.SuppressedError = factory;
}
//# sourceMappingURL=suppressed-error.js.map
