Exceptions
- exception webchanges.jobs.NotModifiedError
Bases:
ExceptionRaised when an HTTP 304 response status code (Not Modified client redirection) is received or the strong validation ETag matches the previous one; this indicates that there was no change in content.
- add_note(note, /)
Add a note to the exception
- args
- with_traceback(tb, /)
Set self.__traceback__ to tb and return self.
- exception webchanges.jobs.BrowserResponseError(args, status_code=None)
Bases:
ExceptionRaised by ‘url’ jobs with ‘use_browser: true’ (i.e. using Playwright) when an HTTP error response status code is received and is not one of the other Exceptions.
- Parameters:
args (tuple[Any, ...]) – Tuple with the underlying error args, typically a string with the error text.
status_code (int | None) – The HTTP status code received.
- Return type:
None
- add_note(note, /)
Add a note to the exception
- args
- with_traceback(tb, /)
Set self.__traceback__ to tb and return self.