You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -298,7 +294,7 @@ failed to execute task 7829, at src/executor.rs:45:12
298
294
|-> connection refused, at src/client.rs:89:24
299
295
```
300
296
301
-
Now you know: it was task-7829, we were fetching data, and the connection was refused. You can grep for that task ID in your request logs and find everything you need.
297
+
Now you know: it was task7829, we were fetching user data, and the connection was refused. You can grep for that task ID in your request logs and find everything you need.
302
298
303
299
---
304
300
@@ -353,12 +349,13 @@ match save_document(doc).await {
353
349
}
354
350
returnErr(map_to_http_status(err.kind));
355
351
}
352
+
356
353
Err(StatusCode::INTERNAL_SERVER_ERROR)
357
354
}
358
355
}
359
356
```
360
357
361
-
Yes, you need to walk the tree--but compare this to the `Provide`/`Request` API. Here, you're looking for a *concrete type* like `StorageError`. It has named fields. It has documentation. Your IDE can autocomplete it. No guessing, no runtime surprises--just a well-defined struct you can reason about and maintain.
358
+
Yes, you still need to walk the tree. But unlike the `Provide`/`Request` API, you end up with a concrete type like `StorageError`—a documented struct with named fields that your IDE can autocomplete. No guessing, no runtime surprises—just something you can reason about and maintain.
0 commit comments