shapefile
shapefile copied to clipboard
An exception class should be added
Instead of adding errors using the ShapeFile::$lastError and ShapeRecord::$lastError properties and the ShapeFile::setError() and ShapeRecord::setError() methods, an exception should be thrown.