RUM Error Collection Methods
- CSP Violations: The CSP errors are collected through SecurityPolicyViolationEvent (https://developer.mozilla.org/en-US/docs/Web/API/SecurityPolicyViolationEvent). Any time a CSP error occurs, that event is triggered.
- XHR and Fetch Errors: The XHR/fetch errors are collected whenever our XHR/fetch wrappers detect anything greater than a 400 HTTP status code and reports them back to Blue Triangle’s error collection system in the cloud.
Synthetic Error Collection
Errors in synthetic are parsed straight from the console.