header

### Error handling demo

Loading...

We try four cases here. "No error" and "Empty action" are both valid responses, except that the second one gives a response with no commands and so it issues a warning into the kss log. "Error" gives a failed responses due to an exception in the server method on the server.

The buttons in the first row have no error handlers.

The buttons in the second row have individual error handlers.

You can also try suspending your server process and start generating timed out requests. Timed out responses are also handled like ones arriving with error. The timeout period is by default 8 s now.

In addition, the request queue manager queues up the outgoing responses and maximizes their number (currently in 4): click like crazy on the buttons and you will see that your server will not get hogged. More will be told about this topic in the upcoming documentation.

logger