Browse the study library +
← All practice questions

A call to lookup_order fails with a timeout. What error handling lets the agent recover intelligently?

Show answer and explanation

Answer: B

Transient failures should carry structured metadata (isRetryable: true) so the agent retries appropriately. Generic errors block smart recovery; silent empties hide real failures.

وقتی خرابیوں کے ساتھ صاف تفصیل ہونی چاہیے (`isRetryable: true`) تاکہ ایجنٹ ٹھیک وقت پر دوبارہ کوشش کرے۔ عام سی خرابیاں سمجھدار حل روکتی ہیں؛ اور خاموش خالی نتائج اصل ناکامیاں چھپا دیتے ہیں۔

One practice question a week

Get a new exam-style question with a clear explanation in your inbox. Free, no spam, unsubscribe any time.

We only use your email for these updates. See our privacy policy.