UNPKG

@maxmind/geoip2-node

Version:

Node.js API for GeoIP2 webservice client and database reader

32 lines (31 loc) 953 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ValueError = exports.InvalidDbBufferError = exports.BadMethodCallError = exports.AddressNotFoundError = void 0; class AddressNotFoundError extends Error { constructor(message) { super(message); this.name = this.constructor.name; } } exports.AddressNotFoundError = AddressNotFoundError; class BadMethodCallError extends Error { constructor(message) { super(message); this.name = this.constructor.name; } } exports.BadMethodCallError = BadMethodCallError; class InvalidDbBufferError extends Error { constructor(message) { super(message); this.name = this.constructor.name; } } exports.InvalidDbBufferError = InvalidDbBufferError; class ValueError extends Error { constructor(message) { super(message); this.name = this.constructor.name; } } exports.ValueError = ValueError;