mattgodbolt-molty
fd6b46fc99
fix: address third Copilot round — postJson error body + setBackendApi
...
- postJson now parses JSON error body for 'answer'/'error'/'message'
fields so callers see meaningful messages (e.g. formatter output on
422) rather than generic 'Request failed: 422 Unprocessable Entity'
- _api promoted from const to let; setBackendApi() exported so tests
(and future test helpers) can inject a fake BackendApi implementation
- Update module-doc comment to reflect injection is now available
🤖 Generated by LLM (Claude, via OpenClaw)
2026-02-22 17:53:53 -06:00
..
2026-02-22 17:53:53 -06:00
2025-08-02 16:20:20 -05:00
2026-02-01 20:50:46 -06:00
2026-02-22 16:15:34 -06:00
2026-01-06 00:00:39 +01:00
2026-02-01 20:50:46 -06:00
2026-02-09 19:27:57 +01:00
2018-08-05 02:48:37 +02:00
2023-06-18 15:21:50 -04:00
2026-02-01 20:50:46 -06:00
2026-02-01 20:50:46 -06:00
2025-12-22 19:23:59 -06:00
2026-02-01 20:50:46 -06:00
2025-06-28 14:01:36 +02:00
2025-02-02 17:54:31 +00:00
2026-02-01 20:50:46 -06:00
2023-05-30 21:18:09 -05:00
2026-02-22 15:14:28 -06:00
2025-06-18 09:04:23 -05:00
2026-02-09 19:27:57 +01:00
2025-12-09 22:16:59 -06:00
2026-02-01 20:50:46 -06:00
2024-10-25 12:19:04 +03:00
2024-02-24 19:17:27 +01:00
2026-02-01 20:50:46 -06:00
2026-02-22 15:29:39 -06:00
2026-02-03 20:25:34 -06:00
2026-02-01 20:50:46 -06:00
2023-03-12 17:07:44 -04:00
2026-02-01 20:50:46 -06:00
2026-02-22 15:29:39 -06:00
2022-03-24 12:00:17 +01:00
2025-06-18 09:04:23 -05:00
2026-02-01 20:50:46 -06:00
2025-07-28 10:34:46 -05:00
2026-02-16 14:07:57 -06:00
2025-02-02 17:54:31 +00:00
2022-10-18 18:19:09 +02:00
2025-06-01 21:49:11 -05:00
2026-02-01 20:50:46 -06:00
2025-04-24 12:10:37 -05:00
2025-08-05 09:31:48 -05:00
2025-11-04 10:58:11 -06:00
2025-09-12 14:23:49 -05:00
2026-02-01 20:50:46 -06:00
2025-02-02 17:54:31 +00:00
2025-07-28 10:34:46 -05:00
2026-02-01 20:50:46 -06:00
2026-02-01 20:50:46 -06:00
2026-02-22 16:15:34 -06:00
2026-02-01 20:50:46 -06:00
2024-02-04 14:45:04 -06:00
2026-02-01 20:50:46 -06:00
2026-02-01 20:50:46 -06:00