PageCheckFailedError -> inherits the error message from the _fetch_first_page_results_number function
Simulated behaviour of the error:
File "C:\Users\EDGAR\edgar_tool\text_search.py", line 487, in _fetch_first_page_results_number
raise PageCheckFailedError(
edgar_tool.page_fetcher.PageCheckFailedError:
Error for url https://efts.sec.gov/LATEST/search-index?q=Test+Search&dateRange=custom&startdt=2019-06-02&enddt=2024-05-31&page=1, with code 200. Please verify that the search/wait/retry parameters are correct and try again.
NoResultsFoundError -> same here from _parse_number_of_results
Simulated behaviour of the error:
File "C:\Users\EDGAR\edgar_tool\text_search.py", line 500, in _fetch_first_page_results_number
raise NoResultsFoundError(
edgar_tool.page_fetcher.NoResultsFoundError:
Execution aborting due to a NoResultsFoundError error raised while parsing number of results for first page at URL https://efts.sec.gov/LATEST/search-index?q=Test+Search&dateRange=custom&startdt=2019-06-02&enddt=2024-05-31&page=1: no results to parse
Edited errors:
PageCheckFailedError
-> inherits the error message from the_fetch_first_page_results_number
function Simulated behaviour of the error:NoResultsFoundError
-> same here from_parse_number_of_results
Simulated behaviour of the error: