aboutsummaryrefslogtreecommitdiff
path: root/docs/source/development/reference
diff options
context:
space:
mode:
authorKristian Evers <kristianevers@gmail.com>2018-03-08 23:25:21 +0100
committerKristian Evers <kristianevers@gmail.com>2018-03-09 14:20:27 +0100
commit6faab2a0140955f6878b3d226e8a13028d1f79b3 (patch)
treef71ef964b41093ec56254bdc8770189500ac4659 /docs/source/development/reference
parent7d9a545d5052c3845a43c0bd96c124e93ed6d630 (diff)
downloadPROJ-6faab2a0140955f6878b3d226e8a13028d1f79b3.tar.gz
PROJ-6faab2a0140955f6878b3d226e8a13028d1f79b3.zip
Add proj_errno_string function
Equivalent to pj_strerrno.
Diffstat (limited to 'docs/source/development/reference')
-rw-r--r--docs/source/development/reference/functions.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/source/development/reference/functions.rst b/docs/source/development/reference/functions.rst
index 38ddbde3..07c53630 100644
--- a/docs/source/development/reference/functions.rst
+++ b/docs/source/development/reference/functions.rst
@@ -266,7 +266,15 @@ Change the error-state of :c:data:`P` to `err`.
:param PJ* P: Transformation object.
:param int err: Error code.
+.. c:function:: const char* proj_errno_string(int err)
+ Get a text representation of an error number.
+
+ :param int err: Error number.
+
+ :returns: :c:type:`const char*` String with description of error.
+
+ .. note:: Available from version 5.1.0.
Info functions
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++