Exceptions

Specific application exceptions.

exception dependency_comb.exceptions.DependencyCombBaseException[source]

Bases: Exception

Exception base.

You should never use it directly except for test purpose. Instead make or use a dedicated exception related to the error context.

exception dependency_comb.exceptions.DependencyCombError[source]

Bases: DependencyCombBaseException

Basic global error exception.

exception dependency_comb.exceptions.AnalyzerError[source]

Bases: DependencyCombError

When parser encounter some erroneus content.

exception dependency_comb.exceptions.AnalyzerAPIError(*args, **kwargs)[source]

Bases: DependencyCombError

When analyzer encounter an error from a request from API.

Attribute http_status may contains a the HTTP response status code if any.

Keyword Arguments:

http_status (integer) – HTTP response status code.

exception dependency_comb.exceptions.RequirementParserError[source]

Bases: DependencyCombError

When parser encounter invalid syntax on given content.