What an adapter can add to a failure the runtime already classified.
Every field is optional and every field is a REFINEMENT. The runtime decides
the code from the HTTP status first, so 429 means RATE_LIMIT for every
provider whether or not its adapter has an opinion; an adapter may narrow
that (a 429 whose body says the account is out of credit is QUOTA) but the
baseline classification does not depend on it having done so.
What an adapter can add to a failure the runtime already classified.
Every field is optional and every field is a REFINEMENT. The runtime decides the code from the HTTP status first, so 429 means
RATE_LIMITfor every provider whether or not its adapter has an opinion; an adapter may narrow that (a 429 whose body says the account is out of credit isQUOTA) but the baseline classification does not depend on it having done so.