review.bot.exceptions#

Module for exceptions.

Module Contents#

exception review.bot.exceptions.ValidationErrorException(message: str = 'Output message from LLM is not properly formed.', llm_output: str = None)#

Bases: Exception

Exception class for LLM format errors.

Parameters:
messagestr, optional

Message to be raised, by default “Output message from LLM is not properly formed.”.

llm_outputstr, optional

Raw output from the LLM, by default None.

exception review.bot.exceptions.EmptyOpenAIResponseException(message: str = 'The response from OpenAI is empty.')#

Bases: Exception

Exception class for OpenAI empty responses.

Parameters:
messagestr, optional

Message to be raised, by default “The response from OpenAI is empty.”.