UNPKG

geosearch

Version:

Geo location service using multiple free independent services and modules

19 lines (13 loc) 351 B
"use strict"; function GeoError(msg) { Error.call(this, msg) ; this.name = "GeoError"; this.message = msg; if (Error.captureStackTrace) { Error.captureStackTrace(this, GeoError); } else { this.stack = (new Error()).stack; } } GeoError.prototype = Object.create(Error.prototype); module.exports = GeoError;