Introducing client error handler