- Enclosing class:
WebSocket
@Target(METHOD)
@Retention(CLASS)
@Documented
@Inherited
@Singleton
public static @interface WebSocket.OnError
A method invoked when the websocket communication encounters an error.
This method may have a
Throwable parameter.