support for location information in error messages