Hello, My app allows users to write their own SQL, and I'd like to show them all error messages directly pertaining to their query, while hiding system errors, etc. It seems that all PostGIS errors, however, have the same generic error code: XX000 Internal Error. For example:
SQLSTATE[XX000]: Internal error: 7 ERROR: Operation on mixed SRID geometries Is there a way to identify an error as coming from PostGIS, other than assuming that all internal errors are from PostGIS? Thanks, Joshua Chamberlain
_______________________________________________ postgis-users mailing list postgis-users@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/postgis-users