The error taxonomy (C048) — mirrors Prism's three hard-failure classes. A SOFT decline is NOT one of these: it comes
back in-band as status: FAILURE on the response. These are thrown only for request-phase config/validation problems
(IntegrationError), unexpected processor responses (ConnectorError), and transport failures (NetworkError) — so a
caller can distinguish "the card was declined" (in-band, expected) from "the integration is broken" (thrown).
The error taxonomy (C048) — mirrors Prism's three hard-failure classes. A SOFT decline is NOT one of these: it comes back in-band as
status: FAILUREon the response. These are thrown only for request-phase config/validation problems (IntegrationError), unexpected processor responses (ConnectorError), and transport failures (NetworkError) — so a caller can distinguish "the card was declined" (in-band, expected) from "the integration is broken" (thrown).