Files
cellxgene/server/common/errors.py
Matt Weiden c7f2032dd7 Add user-generated annotations tests to the server (#1164)
* Add user-generated annotations tests to the server

Partially completes https://github.com/chanzuckerberg/cellxgene/issues/969

* Auto-format python code

* @skip_if: passing lambdas > than property strings

* Respond to feedback from @bkmartinjr
2020-02-23 15:32:13 -08:00

63 lines
909 B
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