Package com.vaadin.client
Interface ApplicationConnection.CommunicationErrorHandler
- Enclosing class:
ApplicationConnection
public static interface ApplicationConnection.CommunicationErrorHandler
Allows custom handling of communication errors.
-
Method Summary
-
Method Details
-
onError
Called when a communication error has occurred. Returningtruefrom this method suppresses error handling.- Parameters:
details- A string describing the error.statusCode- The HTTP status code (e.g. 404, etc).- Returns:
- true if the error reporting should be suppressed, false to perform normal error reporting.
-