import { Component as n } from "react";
class s extends n {
  componentDidCatch(o, t) {
    this.props.onError({
      message: o.message,
      stack: o.stack,
      additionalContext: {
        componentStack: t.componentStack
      }
    });
  }
  render() {
    return this.props.children;
  }
}
export {
  s as ErrorBoundary
};
//# sourceMappingURL=ErrorBoundary.js.map
