ahyatt/emacs-websocket — pull request #26 by tkf (2012-10-06 20:55:31+00:00)
Title: Better wss error for emacs 23

Hi, I've got a report from user saying that he can't connect to wss and it takes for a while to notice that he is using Emacs 23 and the problem was the one we already solved in #22 (Emacs 23 does not support TLS). So, I guess it's better to have a finer message hence this PR.

My idea is to add a new error symbol `websocket-wss-needs-emacs-24` which is a "subtype" of the error `websocket-unsupported-protocol`. This should not break backward compatibly for "good" elisp code (i.e., code which does not compare error symbol directly).