IP address lookup using MaxMind GeoLite2 database
This commit is contained in:
11
lib/maxminddb/errors.py
Normal file
11
lib/maxminddb/errors.py
Normal file
@@ -0,0 +1,11 @@
|
||||
"""
|
||||
maxminddb.errors
|
||||
~~~~~~~~~~~~~~~~
|
||||
|
||||
This module contains custom errors for the MaxMind DB reader
|
||||
"""
|
||||
|
||||
|
||||
class InvalidDatabaseError(RuntimeError):
|
||||
|
||||
"""This error is thrown when unexpected data is found in the database."""
|
Reference in New Issue
Block a user