This document contains code for handling JavaScript errors and reporting them to a server. It defines classes and functions for starting and ending timing measurements, constructing error report objects, and batching reports to be sent. Key points:
- The bb class is used for starting and ending timing measurements around blocks of code
- The fb class contains methods for handling errors, constructing report objects, and batching reports
- Errors are reported by creating a S object containing context and error details, then sending in batches
This document contains code for handling JavaScript errors and reporting them to a server. It defines classes and functions for starting and ending timing measurements, constructing error report objects, and batching reports to be sent. Key points:
- The bb class is used for starting and ending timing measurements around blocks of code
- The fb class contains methods for handling errors, constructing report objects, and batching reports
- Errors are reported by creating a S object containing context and error details, then sending in batches
This document contains code for handling JavaScript errors and reporting them to a server. It defines classes and functions for starting and ending timing measurements, constructing error report objects, and batching reports to be sent. Key points:
- The bb class is used for starting and ending timing measurements around blocks of code
- The fb class contains methods for handling errors, constructing report objects, and batching reports
- Errors are reported by creating a S object containing context and error details, then sending in batches