Current File : //opt/alt/python37/lib/python3.7/site-packages/raven/transport/exceptions.py |
"""
raven.transport.exceptions
~~~~~~~~~~~~~~~~~~~~~~~~~~
:copyright: (c) 2010-2012 by the Sentry Team, see AUTHORS for more details.
:license: BSD, see LICENSE for more details.
"""
from __future__ import absolute_import
class InvalidScheme(ValueError):
"""
Raised when a transport is constructed using a URI which is not
handled by the transport
"""
class DuplicateScheme(Exception):
"""
Raised when registering a handler for a particular scheme which
is already registered
"""