Kestrel Exceptions

exception kestrel.exceptions.KestrelException(error, suggestion='')[source]

Bases: Exception

Generic Kestrel Exception

Parameters
  • error (str) – error message.

  • suggestion (str) – suggestion to fix the issue.

exception kestrel.exceptions.KestrelInternalError(error)[source]

Bases: KestrelException

exception kestrel.exceptions.InvalidConfiguration(error, suggestion)[source]

Bases: KestrelException

exception kestrel.exceptions.DebugCacheLinkOccupied(link)[source]

Bases: KestrelException

exception kestrel.exceptions.KestrelSyntaxError(line, column, invalid_term_type, invalid_term_value, expected)[source]

Bases: KestrelException

exception kestrel.exceptions.InvalidStixPattern(stix, line=None, column=None, invalid_term_type=None, invalid_term_value=None)[source]

Bases: KestrelException

exception kestrel.exceptions.VariableNotExist(var_name)[source]

Bases: KestrelException

exception kestrel.exceptions.UnsupportedRelation(entity_x, relation, entity_y)[source]

Bases: KestrelException

exception kestrel.exceptions.UnsupportedStixSyntax(msg)[source]

Bases: KestrelException

exception kestrel.exceptions.EmptyInputVariable(var_name)[source]

Bases: KestrelException

exception kestrel.exceptions.InvalidAttribute(attribute)[source]

Bases: KestrelException

exception kestrel.exceptions.NonUniformEntityType(etypes)[source]

Bases: KestrelException

exception kestrel.exceptions.MissingEntityType[source]

Bases: KestrelException

exception kestrel.exceptions.MissingEntityAttribute(var_name, attribute)[source]

Bases: KestrelException

exception kestrel.exceptions.DataSourceConnectionError(uri)[source]

Bases: KestrelException

exception kestrel.exceptions.DataSourceManagerInternalError(error)[source]

Bases: KestrelInternalError

exception kestrel.exceptions.InvalidDataSource(uri, itf, msg='')[source]

Bases: KestrelException

exception kestrel.exceptions.DataSourceError(error, suggestion='')[source]

Bases: KestrelException

exception kestrel.exceptions.DataSourceInterfaceNotFound(scheme)[source]

Bases: KestrelException

exception kestrel.exceptions.InvalidDataSourceInterfaceImplementation(error)[source]

Bases: Exception

exception kestrel.exceptions.ConflictingDataSourceInterfaceScheme(itf_a, itf_b, scheme)[source]

Bases: KestrelException

exception kestrel.exceptions.AnalyticsManagerInternalError(error)[source]

Bases: KestrelInternalError

exception kestrel.exceptions.InvalidAnalytics(name, itf, msg='')[source]

Bases: KestrelException

exception kestrel.exceptions.AnalyticsError(error, suggestion='')[source]

Bases: KestrelException

exception kestrel.exceptions.AnalyticsInterfaceNotFound(scheme)[source]

Bases: KestrelException

exception kestrel.exceptions.InvalidAnalyticsInterfaceImplementation(error)[source]

Bases: Exception

exception kestrel.exceptions.ConflictingAnalyticsInterfaceScheme(itf_a, itf_b, scheme)[source]

Bases: KestrelException

exception kestrel.exceptions.InvalidAnalyticsArgumentCount(analytics_name, num_received, num_expected)[source]

Bases: KestrelException

exception kestrel.exceptions.InvalidAnalyticsInput(type_received, types_expected)[source]

Bases: KestrelException

exception kestrel.exceptions.InvalidAnalyticsOutput(analytics_name, return_type)[source]

Bases: KestrelException