client model basic error handling