from __future__ import absolute_import from raven.utils.compat import text_type class APIError(Exception): def __init__(self, message, code=0): self.code = code self.message = message def __unicode__(self): return text_type("%s: %s" % (self.message, self.code)) class RateLimited(APIError): def __init__(self, message, retry_after=0): self.retry_after = retry_after super(RateLimited, self).__init__(message, 429) class InvalidGitRepository(Exception): pass class ConfigurationError(ValueError): pass class InvalidDsn(ConfigurationError): pass
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
__pycache__ | Folder | 0755 |
|
|
conf | Folder | 0755 |
|
|
contrib | Folder | 0755 |
|
|
data | Folder | 0755 |
|
|
handlers | Folder | 0755 |
|
|
scripts | Folder | 0755 |
|
|
transport | Folder | 0755 |
|
|
utils | Folder | 0755 |
|
|
__init__.py | File | 1.21 KB | 0644 |
|
base.py | File | 29.4 KB | 0644 |
|
breadcrumbs.py | File | 12.91 KB | 0644 |
|
context.py | File | 3.78 KB | 0644 |
|
events.py | File | 4.56 KB | 0644 |
|
exceptions.py | File | 620 B | 0644 |
|
middleware.py | File | 3.51 KB | 0644 |
|
processors.py | File | 5.26 KB | 0644 |
|
versioning.py | File | 2.48 KB | 0644 |
|