classifyNewStateResponse
classifyNewStateResponse(
response):NewStateResponseClassification
Defined in: packages/simply-settings-core/src/address/newStateForm.ts:264
Classifies the response to a “Configure New State” POST. The markers are the ones the mattandneil/statecodes Apex batch matched on, checked in the same order.
Parameters
Section titled “Parameters”response
Section titled “response”The POST’s status, unfollowed redirect location, and body.
string
location?
Section titled “location?”string
status
Section titled “status”number
Returns
Section titled “Returns”NewStateResponseClassification
The outcome, with Salesforce’s message where there was one.