cogeotiff / rio-tiler

User friendly Rasterio plugin to read raster datasets.
https://cogeotiff.github.io/rio-tiler/
BSD 3-Clause "New" or "Revised" License
502 stars 106 forks source link

Error message should match x, y, z arguments #712

Closed abarciauskas-bgse closed 3 months ago

abarciauskas-bgse commented 3 months ago

It's a bit confusing when the error message has a different order than the arguments, so this is a small change to the error message.

vincentsarago commented 3 months ago

🙏 thanks @abarciauskas-bgse

abarciauskas-bgse commented 3 months ago

Thanks @vincentsarago for making the additional changes and merging. I was going to write a test for the error message but 👌🏽 with me to forego that for now.