Exceptions¶
Specific application exceptions.
- exception dependency_comb.exceptions.DependencyCombBaseException[source]¶
Bases:
ExceptionException 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:
DependencyCombBaseExceptionBasic global error exception.
- exception dependency_comb.exceptions.AnalyzerError[source]¶
Bases:
DependencyCombErrorWhen parser encounter some erroneus content.
- exception dependency_comb.exceptions.AnalyzerAPIError(*args, **kwargs)[source]¶
Bases:
DependencyCombErrorWhen analyzer encounter an error from a request from API.
Attribute
http_statusmay 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:
DependencyCombErrorWhen parser encounter invalid syntax on given content.