Typo in ElasticsearchException
This change is internal so it shouldn't affect existing code
This commit is contained in:
@@ -1,17 +1,17 @@
|
|||||||
__all__ = ['ImproperlyConfigured', 'ElastiSearchException', 'SerializationError', 'TransportError', 'NotFoundError']
|
__all__ = ['ImproperlyConfigured', 'ElasticsearchException', 'SerializationError', 'TransportError', 'NotFoundError']
|
||||||
|
|
||||||
class ImproperlyConfigured(Exception):
|
class ImproperlyConfigured(Exception):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
class ElastiSearchException(Exception):
|
class ElasticsearchException(Exception):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
class SerializationError(ElastiSearchException):
|
class SerializationError(ElasticsearchException):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
class TransportError(ElastiSearchException):
|
class TransportError(ElasticsearchException):
|
||||||
""" Exception raised when ES returns a non-OK (>=400) HTTP status code. """
|
""" Exception raised when ES returns a non-OK (>=400) HTTP status code. """
|
||||||
@property
|
@property
|
||||||
def status_code(self):
|
def status_code(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user