PHP 8.2.30
Preview: exceptions.py Size: 620 B
/opt/cloudlinux/venv/lib/python3.11/site-packages/raven/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

Directory Contents

Dirs: 8 × Files: 9

Name Size Perms Modified Actions
conf DIR
- drwxr-xr-x 2026-02-06 08:01:08
Edit Download
contrib DIR
- drwxr-xr-x 2026-02-06 08:01:08
Edit Download
data DIR
- drwxr-xr-x 2026-02-06 08:01:08
Edit Download
handlers DIR
- drwxr-xr-x 2026-02-06 08:01:08
Edit Download
scripts DIR
- drwxr-xr-x 2026-02-06 08:01:08
Edit Download
transport DIR
- drwxr-xr-x 2026-02-06 08:01:08
Edit Download
utils DIR
- drwxr-xr-x 2026-02-06 08:01:08
Edit Download
- drwxr-xr-x 2026-02-06 08:01:46
Edit Download
29.40 KB lrw-r--r-- 2026-01-20 13:01:47
Edit Download
12.91 KB lrw-r--r-- 2026-01-20 13:01:47
Edit Download
3.78 KB lrw-r--r-- 2026-01-20 13:01:47
Edit Download
4.56 KB lrw-r--r-- 2026-01-20 13:01:47
Edit Download
620 B lrw-r--r-- 2026-01-20 13:01:47
Edit Download
3.51 KB lrw-r--r-- 2026-01-20 13:01:47
Edit Download
5.26 KB lrw-r--r-- 2026-01-20 13:01:47
Edit Download
2.48 KB lrw-r--r-- 2026-01-20 13:01:47
Edit Download
1.21 KB lrw-r--r-- 2026-01-20 13:01:47
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).