It would be nice to also print the provided window size. E.g. if it's negative or something due to an overflow people might be confused to get this error.