Skip to main content
Version: 2.5

InvalidResponseBodyError

Error caused by the response body failing to be parsed.

This error exists for the quite common situation, where only a partial JSON response is received and an attempt to parse the JSON throws an error. In most cases this can be resolved by retrying the request. We do that by identifying this error in the HTTPClient.

Index

Constructors

Constructors

__init__

  • __init__(response): None
  • Initialize a new instance.


    Parameters

    • response: impit.Response

    Returns None

Page Options