Skip to content

Commit 15b5d6d

Browse files
committed
clarify ex-handler doc
1 parent ef7b168 commit 15b5d6d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/bortexz/resocket.clj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,8 @@
212212
- `close-timeout` (optional) millisecond to wait before aborting the connection after closing the output. Defaults to
213213
10000 (10 secs).
214214
- `ex-handler` (optional) unary fn called with errors happening on internal calls to the jdk11 websocket. Defaults to
215-
use uncaught exception handler."
215+
use uncaught exception handler. Errors are wrapped in an ExceptionInfo that contains :val, :port and :error on its
216+
data."
216217
([url] (connection url {}))
217218
([url {:keys [ping-interval
218219
ping-timeout

0 commit comments

Comments
 (0)