The component should be responsible of validating a response, after it's been deserialized (but before the dataSerializer has kicked in).
For example it can check for specific HTTP codes, or inspecting the response to search for specific patterns (e.g. a JSON object containing "errors" array).
The component should be responsible of validating a response, after it's been deserialized (but before the dataSerializer has kicked in). For example it can check for specific HTTP codes, or inspecting the response to search for specific patterns (e.g. a JSON object containing "errors" array).