Handling Errors
import { handleError } from '@splitscript.js/core'
handleError((data, error) => {
console.log("There was an error: ", error)
})
// You can add multiple error handlers
handleError((data, error) => {
console.log("There was an error: ", error)
})Last updated