Skip to content

onError

//fluxbase-kotlin/io.github.nimbleflux.fluxbase.realtime/RealtimeChannel/onError

[jvm]
var onError: (JsonObject) -> Unit?

Optional callback invoked when the server sends an error message. Set this to surface subscription/server errors to application code.