Client's method error handling. More test units.
Merge pull request #6 from ktrzeciaknubisa/master

Client's method error handling.