umegaya/yue — pull request #23 by umegaya (2013-02-11 11:32:51+00:00)
Title: Feature/refine errors

- create error category (like Exception class for various languages)
- change all lua_error call using above new category
- enable to check error type
- if error is timeout, then call special callback to handling reconnection (because client should be close connection when timeout occurs. that is likely to lost their connection)
- make above feature optional because for server, sometime its better to retry simply.