progress icon indicating copy to clipboard operation
progress copied to clipboard

Error Handling

Open m47e opened this issue 2 years ago • 0 comments

I introduced an error event that gets triggered when an error occurs during the progress tracking.

Progress.init({
  //  configuration options...
});

function customErrorHandler(error) {
  // Handle the error...
}

// Add the customErrorHandler as the error handler
document.addEventListener('inertia:error', customErrorHandler);

m47e avatar May 25 '23 12:05 m47e