Skip to contents

Extracts the status code, message, and field-level errors from the response body and aborts with a structured cli message.

Usage

abort_api_error(resp, realm)

Arguments

resp

Response object

realm

Realm name