Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ic4b5BMpRV6przXHwuKTz
16 lines
901 B
Plaintext
16 lines
901 B
Plaintext
Bad requests: the exact message for each, and the stock afterwards
|
|
==================================================================
|
|
|
|
blank key InvalidOrder: an idempotency key is required
|
|
unknown customer NotFound: customer C9 not found
|
|
unknown restaurant NotFound: restaurant R9 not found
|
|
empty cart InvalidOrder: the cart is empty
|
|
item from another menu InvalidOrder: Biryani House has no item p1
|
|
quantity zero InvalidOrder: quantity for Chicken Biryani must be 1 to 20, got 0
|
|
quantity 21 InvalidOrder: quantity for Chicken Biryani must be 1 to 20, got 21
|
|
24 km away InvalidOrder: Pizza Point is 24 km away; we deliver up to 15 km
|
|
more than the stock OutOfStock: b1: wanted 6, only 5 left
|
|
closed restaurant Dosa Corner is closed
|
|
|
|
two-line cart where the second line is short: Veg Biryani stock still 3
|