This file is indexed.

/usr/share/pyshared/dap/exceptions.py is in python-dap 2.2.6.7-2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
"""DAP exceptions.

These exceptions are mostly used by the server. When an exception is
captured, a proper error message is displayed (according to the DAP
2.0 spec), with information about the exception and the error code 
associated with it.

The error codes are attributed using the "first come, first serve"
algorithm.
"""

__author__ = "Roberto De Almeida <rob@pydap.org>"


class DapError(Exception):
    """Base DAP exception."""
    def __init__(self, value):
        self.value = value

    def __str__(self):
        return repr(self.value)


class ClientError(DapError):
    """Generic error with the client."""
    code = 100
    

class ServerError(DapError):
    """Generic error with the server."""
    code = 200

class ConstraintExpressionError(ServerError):
    """Exception raised when an invalid constraint expression is given."""
    code = 201


class PluginError(DapError):
    """Generic error with a plugin."""
    code = 300

class ExtensionNotSupportedError(PluginError):
    """Exception raised when trying to open a file not supported by any plugins."""
    code = 301

class OpenFileError(PluginError):
    """Exception raised when unable to open a file."""
    code = 302