Enum ai::SessionError
source · pub enum SessionError {
NoMatchingModel,
TemperatureOutOfValidRange,
ClashingArguments(ClashingArgumentsError),
CohereError(CohereError),
OpenAIError(OpenAIError),
IOError(Error),
DeserializeError(Error),
Unauthorized,
}Variants§
NoMatchingModel
TemperatureOutOfValidRange
ClashingArguments(ClashingArgumentsError)
CohereError(CohereError)
OpenAIError(OpenAIError)
IOError(Error)
DeserializeError(Error)
Trait Implementations§
source§impl Debug for SessionError
impl Debug for SessionError
source§impl From<Error> for SessionError
impl From<Error> for SessionError
source§fn from(original: Error) -> SessionError
fn from(original: Error) -> SessionError
Converts to this type from the input type.
source§impl From<Error> for SessionError
impl From<Error> for SessionError
source§fn from(original: Error) -> SessionError
fn from(original: Error) -> SessionError
Converts to this type from the input type.