]> git.openstreetmap.org Git - nominatim.git/commit
set exception handler by request format, not always HTML
authormarc tobias <mtmail@gmx.net>
Sun, 16 Sep 2018 15:16:42 +0000 (17:16 +0200)
committerMarc Tobias Metten <mtmail@gmx.net>
Wed, 3 Oct 2018 20:58:20 +0000 (22:58 +0200)
commite4a51e460e0e7020fed0eeeb8b6cce7148e0bb58
tree71c7fb75ac4608db91c77b2d2852b7f1c0ff16cb
parent2467e9996e787e98deea11d4397a9e9977c163f1
set exception handler by request format, not always HTML
20 files changed:
lib/DatabaseError.php [new file with mode: 0644]
lib/init-website.php
lib/lib.php
lib/template/error-html.php [new file with mode: 0644]
lib/template/error-json.php [new file with mode: 0644]
lib/template/error-xml.php [new file with mode: 0644]
test/bdd/api/errors/formats.feature [new file with mode: 0644]
test/bdd/api/lookup/simple.feature
test/bdd/api/search/simple.feature
test/bdd/steps/queries.py
test/php/Nominatim/AddressDetailsTest.php
test/php/Nominatim/DatabaseErrorTest.php [new file with mode: 0644]
test/php/Nominatim/LibTest.php
test/php/Nominatim/StatusTest.php
test/php/Nominatim/TokenListTest.php
test/php/bootstrap.php
website/details.php
website/lookup.php
website/reverse.php
website/search.php