Throws InvokeError when the result's HTTP status is not a 2xx success, extracting the error envelope's message and code when the body carries them. Successful results pass through untouched.
Throws InvokeError when the result's HTTP status is not a 2xx success, extracting the error envelope's message and code when the body carries them. Successful results pass through untouched.