Skip to content

dicomtrolley.exceptions

DICOMTrolleyError

Bases: Exception

Base for all exceptions raised in dicomtrolley

Source code in dicomtrolley/exceptions.py
1
2
3
4
class DICOMTrolleyError(Exception):
    """Base for all exceptions raised in dicomtrolley"""

    pass

NoQueryResultsError

Bases: DICOMTrolleyError

Raised when a query returns 0 results

Source code in dicomtrolley/exceptions.py
23
24
class NoQueryResultsError(DICOMTrolleyError):
    """Raised when a query returns 0 results"""

NoReferencesFoundError

Bases: DICOMTrolleyError

Cannot find any references for this object at the given level. Used in DICOMDownloadable

Source code in dicomtrolley/exceptions.py
15
16
17
18
19
20
class NoReferencesFoundError(DICOMTrolleyError):
    """Cannot find any references for this object at the given level. Used in
    DICOMDownloadable
    """

    pass

UnSupportedParameterError

Bases: DICOMTrolleyError

A query parameter was set that cannot be used in this Searcher type. See Query class notes

Source code in dicomtrolley/exceptions.py
 7
 8
 9
10
11
12
class UnSupportedParameterError(DICOMTrolleyError):
    """A query parameter was set that cannot be used in this Searcher type.
    See Query class notes
    """

    pass