Errors

APIPageStatusError

class compuglobal.APIPageStatusError(page_status, url)

Raised when the status code for the API is not 200.

Parameters:
  • page_status (int) – The page status code returned by the API.

  • url (str) – The base url that raised the error.

NoSearchResultsFoundError

class compuglobal.NoSearchResultsFoundError(message='No search results found.')

Raised when no search results are found.