c89df94bb313b3a6822f49448eb1903bae0d499151d3a034a28f0956032452c0498942560d02cec39283df6fbd85850e5ba147b975bbec337b87012ae0d654 571 B

1234567891011121314
  1. /**
  2. * Handles dealing with errors for super-gross mode. Creates a context, in which
  3. * any synchronously thrown errors will be passed to {@link captureError}. Which
  4. * will record the error such that it will be rethrown after the call back is complete.
  5. * TODO: Remove in v8
  6. * @param cb An immediately executed function.
  7. */
  8. export declare function errorContext(cb: () => void): void;
  9. /**
  10. * Captures errors only in super-gross mode.
  11. * @param err the error to capture
  12. */
  13. export declare function captureError(err: any): void;
  14. //# sourceMappingURL=errorContext.d.ts.map