com.vaadin.server.ErrorHandler Maven / Gradle / Ivy
/*
* Copyright (C) 2000-2024 Vaadin Ltd
*
* This program is available under Vaadin Commercial License and Service Terms.
*
* See for the full
* license.
*/
package com.vaadin.server;
import java.io.Serializable;
/**
* Interface for listening to errors in the application.
*/
@FunctionalInterface
public interface ErrorHandler extends Serializable {
/**
* Invoked when an error occurs.
*
* @param event
* the fired event.
*/
public void error(ErrorEvent event);
}