X7ROOT File Manager
Current Path:
/opt/cloudlinux/venv/lib/python3.11/site-packages/raven
opt
/
cloudlinux
/
venv
/
lib
/
python3.11
/
site-packages
/
raven
/
??
..
??
__init__.py
(1.21 KB)
??
__pycache__
??
base.py
(29.4 KB)
??
breadcrumbs.py
(12.91 KB)
??
conf
??
context.py
(3.78 KB)
??
contrib
??
data
??
events.py
(4.56 KB)
??
exceptions.py
(620 B)
??
handlers
??
middleware.py
(3.51 KB)
??
processors.py
(5.26 KB)
??
scripts
??
transport
??
utils
??
versioning.py
(2.48 KB)
Editing: exceptions.py
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
Upload File
Create Folder