More extensive exceptions handler in client module