Package-internal HTTP-response helper
Source:R/manual_layer_responses.R
dot-get_empty_response_body_or_stop.RdThis is a package-internal function for code-deduplication within various manual-layer functions.
Arguments
- resultObject
Should be a return value from an API function which uses
.wrap_as_api_responseinternally. These are functions which are manually edited after OpenAPI autogen.
Value
Invisible on success, or stop() on failure.
Details
This wraps .get_raw_response_body_or_stop, doing stop
if there is an API-response error, or if the response is not the empty string.
This is for API functions where the expected response is the empty string.