1""" 2raven.transport.exceptions 3~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 5:copyright: (c) 2010-2012 by the Sentry Team, see AUTHORS for more details. 6:license: BSD, see LICENSE for more details. 7""" 8from __future__ import absolute_import 9 10 11class InvalidScheme(ValueError): 12 """ 13 Raised when a transport is constructed using a URI which is not 14 handled by the transport 15 """ 16 17 18class DuplicateScheme(Exception): 19 """ 20 Raised when registering a handler for a particular scheme which 21 is already registered 22 """ 23