@Documented
@Retention(value=RUNTIME)
@Target(value=METHOD)
@WebSocketMapping
public @interface OnError
Annotation that can be applied to a method that will receive WebSocket errors. Largely mirrors the
equivalent annotation in javax.websocket and eventual support for the specification could be added in the future.