/usr/lib/python3/dist-packages/shapely/errors.py is in python3-shapely 1.6.4-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | """Shapely errors."""
class ShapelyError(Exception):
"""Base error class."""
class UnsupportedGEOSVersionError(ShapelyError):
"""Raised when the system's GEOS library version is unsupported."""
class ReadingError(ShapelyError):
"""A WKT or WKB reading error."""
class WKBReadingError(ReadingError):
"""A WKB reading error."""
class WKTReadingError(ReadingError):
"""A WKT reading error."""
class DimensionError(ShapelyError):
"""An error in the number of coordinate dimensions."""
class TopologicalError(ShapelyError):
"""A geometry is invalid or topologically incorrect."""
class PredicateError(ShapelyError):
"""A geometric predicate has failed to return True/False."""
|