]> git.openstreetmap.org Git - nominatim.git/blob - lib/template/error-xml.php
set exception handler by request format, not always HTML
[nominatim.git] / lib / template / error-xml.php
1 <error>
2     <code><?php echo $exception->getCode() ?></code>
3     <message><?php echo $exception->getMessage() ?></message>
4     <?php if (CONST_Debug) { ?>
5     <details><?php echo $exception->getFile() . '('. $exception->getLine() . ')' ?></details>
6     <?php } ?>
7 </error>