Handling Errors with try-catch-finally

What type of error handling is this code implementing?
window.addEventListener('error', (event) => {
  console.error('Global error:', event.error);
  event.preventDefault();
});
Next Question (15/20)