projects
/
nominatim.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge pull request #1782 from Simon-Will/1781-make-tests-work-with-phpunit-8
[nominatim.git]
/
lib
/
template
/
error-json.php
1
<?php
2
$error = array(
3
'code' => $exception->getCode(),
4
'message' => $exception->getMessage()
5
);
6
7
if (CONST_Debug) {
8
$error['details'] = $exception->getFile() . '('. $exception->getLine() . ')';
9
}
10
11
echo javascript_renderData(array('error' => $error));