mindmeld.exceptions module

This module contains exceptions used by the mindmeld package.

exception mindmeld.exceptions.AllowedNlpClassesKeyError(*args)[source]

Bases: mindmeld.exceptions.MindMeldError

exception mindmeld.exceptions.AuthNotFoundError(*args)[source]

Bases: mindmeld.exceptions.MindMeldError

exception mindmeld.exceptions.BadMindMeldRequestError(message, status_code=None, payload=None)[source]

Bases: mindmeld.exceptions.MindMeldError

to_dict()[source]
status_code = 400
exception mindmeld.exceptions.ClassifierLoadError(*args)[source]

Bases: mindmeld.exceptions.MindMeldError

exception mindmeld.exceptions.ElasticsearchConnectionError(es_host)[source]

Bases: mindmeld.exceptions.EntityResolverError

An exception for connection error to Elasticsearch for entity resolver

exception mindmeld.exceptions.ElasticsearchKnowledgeBaseConnectionError(es_host)[source]

Bases: mindmeld.exceptions.KnowledgeBaseError

An exception for problem connecting to knowledge base.

exception mindmeld.exceptions.ElasticsearchVersionError(*args)[source]

Bases: mindmeld.exceptions.MindMeldError

An exception for when the user would like to use funtionality not available with their version of ElasticSearch.

exception mindmeld.exceptions.EmbeddingDownloadError(*args)[source]

Bases: mindmeld.exceptions.MindMeldError

exception mindmeld.exceptions.EntityResolverError(*args)[source]

Bases: mindmeld.exceptions.MindMeldError

An exception for unexpected error from entity resolver.

exception mindmeld.exceptions.InvalidMaskError(*args)[source]

Bases: mindmeld.exceptions.MindMeldError

exception mindmeld.exceptions.KnowledgeBaseError(*args)[source]

Bases: mindmeld.exceptions.MindMeldError

An exception for unexpected error from knowledge base.

exception mindmeld.exceptions.MarkupError(*args)[source]

Bases: mindmeld.exceptions.MindMeldError

exception mindmeld.exceptions.MindMeldError(*args)[source]

Bases: Exception

exception mindmeld.exceptions.MindMeldImportError(*args)[source]

Bases: mindmeld.exceptions.MindMeldError

exception mindmeld.exceptions.MindMeldVersionError(*args)[source]

Bases: mindmeld.exceptions.MindMeldError

exception mindmeld.exceptions.MindMeldVersionWarning[source]

Bases: UserWarning

exception mindmeld.exceptions.ParserTimeout(*args)[source]

Bases: mindmeld.exceptions.MindMeldError

An exception for when parsing takes an unexpected length of time

exception mindmeld.exceptions.ProcessorError(*args)[source]

Bases: mindmeld.exceptions.MindMeldError

An exception which indicates an error with a processor.

exception mindmeld.exceptions.SystemEntityMarkupError(*args)[source]

Bases: mindmeld.exceptions.MarkupError

exception mindmeld.exceptions.SystemEntityResolutionError(*args)[source]

Bases: mindmeld.exceptions.MindMeldError

An exception representing an error resolving a system entity

exception mindmeld.exceptions.UnconstrainedMaskError(*args)[source]

Bases: mindmeld.exceptions.MindMeldError