docs: Fix sample code to avoid reading from `undefined` in `didAuthError` (#3723)
Gert Hengeveld 10 months ago b03198a9 0f29d072
··· 207 207 return { 208 208 // ... 209 209 didAuthError(error, _operation) { 210 210 - return error.response.status === 401; 210 210 + return error.response?.status === 401; 211 211 }, 212 212 }; 213 213 });