Errors

There are plenty of errors that can occur when working with this library. These are the inbuilt errors to help improve your error handling experience, and your experice working with the library overall.

The errors:

  • URLerror: You will see this error if there was a problem forming a url with the date provided. This is normally caused because a incorrect name is provided causing the website to return a 404 and a http.client.InvalidURl error.
  • Region_Length_Error: You will see this error if you provide to many or too little regions when creating a new region class.
  • InvalidRegionError: You will see this error if the region you provoided is invalid and does not exist.
  • DataFetchError: You will see this error if there was a problem fetching the data or an incomplete data set was found.