Skip to contents

This is a package-internal function for code-deduplication within various manual-layer functions.

Usage

.get_empty_response_body_or_stop(resultObject)

Arguments

resultObject

Should be a return value from an API function which uses .wrap_as_api_response internally. 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.