add example code of error