fail2ban-p2p/fail2ban-p2p/customexceptions.py

17 lines
434 B
Python

# Copyright 2013 Johannes Fuermann <johannes at fuermann.cc>
# Copyright 2013 Manuel Munz <manu at somakoma.de>
#
# This file is part of fail2ban-p2p.
#
# Licensed under the GNU GENERAL PUBLIC LICENSE Version 3. For details
# see the file COPYING or http://www.gnu.org/licenses/gpl-3.0.en.html.
class InvalidMessage(Exception):
pass
class InvalidSignature(Exception):
pass
class InvalidProtocolVersion(Exception):
pass