More advanced error checking is certainly possible, and usually desirable.
Zip: