Rest Api Error Handling Example