File: errors.py

package info (click to toggle)
python-maxminddb 1.2.3-1~bpo8%2B1
  • links: PTS, VCS
  • area: main
  • in suites: jessie-backports
  • size: 1,880 kB
  • sloc: python: 1,052; ansic: 476; perl: 428; makefile: 137; sh: 43
file content (10 lines) | stat: -rw-r--r-- 226 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
"""
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."""