aboutsummaryrefslogtreecommitdiff
path: root/src/strerrno.cpp
diff options
context:
space:
mode:
authorKristian Evers <kristianevers@gmail.com>2019-04-02 22:45:27 +0200
committerGitHub <noreply@github.com>2019-04-02 22:45:27 +0200
commitc0d91bd3c0870233e1d0a207cef4de8f65885f6d (patch)
treeb0ea23e51b883e99bf62c362c34a7bab8e5b48a7 /src/strerrno.cpp
parent41fe4d06282f5a5374cd6d19382e0e37c2c277bc (diff)
parent20300c1fd5b35bf1d577a3726f02940d02c73f54 (diff)
downloadPROJ-c0d91bd3c0870233e1d0a207cef4de8f65885f6d.tar.gz
PROJ-c0d91bd3c0870233e1d0a207cef4de8f65885f6d.zip
Merge pull request #1405 from kbevers/return_errno_proj_create
Make sure that ISO19111 C++ code sets pj_errno on errors
Diffstat (limited to 'src/strerrno.cpp')
-rw-r--r--src/strerrno.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/strerrno.cpp b/src/strerrno.cpp
index af130fc4..4020cb23 100644
--- a/src/strerrno.cpp
+++ b/src/strerrno.cpp
@@ -70,6 +70,7 @@ pj_err_list[] = {
"argument not numerical or out of range", /* -58 */
"inconsistent unit type between input and output", /* -59 */
"arguments are mutually exclusive", /* -60 */
+ "generic error of unknow origin", /* -61 */
/* When adding error messages, remember to update ID defines in
projects.h, and transient_error array in pj_transform */