summaryrefslogtreecommitdiff
path: root/docs
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:27:19 -0400
commit1739ef78553361e7d13e19ab78004bff993fe9c2 (patch)
treeda45378ffbbe4ffc480e4b1f007e43ef49354ab5 /docs
parentb9436d1ba8a0398efcc37b0cca481e7d129c68b1 (diff)
[1.11.x] Fixed #28525 -- Documented GDAL and GeoIP exceptions.
Backport of 11f4c52ec74ea5244bc5988f37cbfdce2586b642 from master
Diffstat (limited to 'docs')
-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 1047d58517..f847b46fcb 100644
--- a/docs/ref/contrib/gis/gdal.txt
+++ b/docs/ref/contrib/gis/gdal.txt
@@ -1683,3 +1683,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 2c6ec4f03d..e059dfabeb 100644
--- a/docs/ref/contrib/gis/geoip2.txt
+++ b/docs/ref/contrib/gis/geoip2.txt
@@ -167,5 +167,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.