summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Pope <nick.pope@flightdataservices.com>2017-05-18 14:12:28 +0100
committerTim Graham <timograham@gmail.com>2017-09-02 09:10:18 -0400
commit11f4c52ec74ea5244bc5988f37cbfdce2586b642 (patch)
treeadd75946363e6929bf960082720036f532faae24
parent90fcf0fce7a9029ae0993eec7020ac23834fc328 (diff)
Fixed #28525 -- Documented GDAL and GeoIP exceptions.
-rw-r--r--docs/ref/contrib/gis/gdal.txt12
-rw-r--r--docs/ref/contrib/gis/geoip2.txt8
2 files changed, 20 insertions, 0 deletions
diff --git a/docs/ref/contrib/gis/gdal.txt b/docs/ref/contrib/gis/gdal.txt
index c2d0345be8..832d91977c 100644
--- a/docs/ref/contrib/gis/gdal.txt
+++ b/docs/ref/contrib/gis/gdal.txt
@@ -1832,3 +1832,15 @@ Settings
A string specifying the location of the GDAL library. Typically,
this setting is only used if the GDAL library is in a non-standard
location (e.g., ``/home/john/lib/libgdal.so``).
+
+Exceptions
+==========
+
+.. exception:: GDALException
+
+ The base GDAL exception, indicating a GDAL-related error.
+
+.. exception:: SRSException
+
+ An exception raised when an error occurs when constructing or using a
+ spatial reference system object.
diff --git a/docs/ref/contrib/gis/geoip2.txt b/docs/ref/contrib/gis/geoip2.txt
index 7a280af6eb..b6622edb52 100644
--- a/docs/ref/contrib/gis/geoip2.txt
+++ b/docs/ref/contrib/gis/geoip2.txt
@@ -168,5 +168,13 @@ The basename to use for the GeoIP country data file. Defaults to
The basename to use for the GeoIP city data file. Defaults to
``'GeoLite2-City.mmdb'``.
+Exceptions
+==========
+
+.. exception:: GeoIP2Exception
+
+ The exception raised when an error occurs in a call to the underlying
+ ``geoip2`` library.
+
.. rubric:: Footnotes
.. [#] GeoIP(R) is a registered trademark of MaxMind, Inc.