Skip to content

Commit

Permalink
GeometryError class to handle mutually exclusive geometry and kml_co…
Browse files Browse the repository at this point in the history
…ordinates
  • Loading branch information
cleder committed May 12, 2024
1 parent 65c6a62 commit 8c889a9
Show file tree
Hide file tree
Showing 2 changed files with 227 additions and 11 deletions.
5 changes: 5 additions & 0 deletions fastkml/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,8 @@ class KMLWriteError(FastKMLError):

class KMLSchemaError(FastKMLError):
"""Raised when there is an error with the KML Schema."""


# geometry and kml_coordinates are mutually exclusive
class GeometryError(FastKMLError):
"""Raised when there is an error with the geometry."""
Loading

0 comments on commit 8c889a9

Please sign in to comment.