mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-09-16 05:07:55 +08:00
* URL reweriting for static * request size limits * improve quotas, make tests work * remove debugging code * pass limits to front-end * fix renaming boggle
79 lines
1.1 KiB
Python
79 lines
1.1 KiB
Python
class FilterError(Exception):
|
|
"""
|
|
Raised when filter is malformed
|
|
"""
|
|
|
|
pass
|
|
|
|
|
|
class JSONEncodingValueError(Exception):
|
|
"""
|
|
Raised when data cannot be encoded into json
|
|
"""
|
|
|
|
pass
|
|
|
|
|
|
class MimeTypeError(Exception):
|
|
"""
|
|
Raised when incompatible MIME type selected
|
|
"""
|
|
|
|
pass
|
|
|
|
|
|
class PrepareError(Exception):
|
|
"""
|
|
Raised when data is misprepared
|
|
"""
|
|
|
|
pass
|
|
|
|
|
|
class DatasetAccessError(Exception):
|
|
"""
|
|
Raised when file loaded into a DataAdaptor is misformatted
|
|
"""
|
|
|
|
pass
|
|
|
|
|
|
class DisabledFeatureError(Exception):
|
|
"""
|
|
Raised when an attempt to use a disabled feature occurs
|
|
"""
|
|
|
|
pass
|
|
|
|
|
|
class AnnotationsError(Exception):
|
|
"""
|
|
Raised when an attempt to use the annotations feature fails
|
|
"""
|
|
|
|
pass
|
|
|
|
|
|
class OntologyLoadFailure(Exception):
|
|
"""
|
|
Raised when reading the ontology file fails
|
|
"""
|
|
|
|
pass
|
|
|
|
|
|
class ConfigurationError(Exception):
|
|
"""
|
|
Raised when checking configuration errors
|
|
"""
|
|
|
|
pass
|
|
|
|
|
|
class ExceedsLimitError(Exception):
|
|
"""
|
|
Raised when an HTTP request exceeds a limit/quota
|
|
"""
|
|
|
|
pass
|