Build the error-mapping middleware — the single point where non-2xx
responses and raw transport failures become typed EdgibleErrors
(error-model.md). Everything above it sees only 2xx responses or typed
errors; it must sit at the bottom of the pipeline, just above the
transport.
Build the error-mapping middleware — the single point where non-2xx responses and raw transport failures become typed
EdgibleErrors (error-model.md). Everything above it sees only 2xx responses or typed errors; it must sit at the bottom of the pipeline, just above the transport.