added error example to the readme