Hype xAPI Documentation

⌘K
👋 WELCOME to HypeXAPI
Introduction
What is Hype?
What is xAPI?
Why are we doing it?
How are we doing it?
Functions in Hype xAPI
hypeDocument
HypeXAPI
Docs powered by archbee 
1min

xhrRequestOnError

This default consists of a function that is called when there is an error with an XHR request. It takes the XHR request, the method used, the URL, the callback, and the callback arguments as parameters. You can use this function to handle errors in your XHR requests. For example, you could use this function to log the error to the console:

JS
|




Updated 03 Mar 2023
Did this page help you?
Yes
No
UP NEXT
HypeXAPI.getDefault
Docs powered by archbee