pub enum RunErrorCodes {
Show 13 variants
Unknown,
DefaultProviderExceededQuota,
DefaultProviderInvalidModel,
DocumentConfigError,
MissingProvider,
ChainCompileError,
AIRunError,
UnsupportedProviderResponseType,
AIProviderConfigError,
EvaluationRunMissingProviderLog,
EvaluationRunMissingWorkspace,
EvaluationRunUnsupportedResultType,
EvaluationRunResponseJsonFormat,
}
Expand description
Error codes related to document execution (Run) within the Latitude API.
Variants§
Unknown
An unknown error occurred during document execution.
DefaultProviderExceededQuota
The provider’s quota was exceeded.
DefaultProviderInvalidModel
The requested model is invalid for the provider.
DocumentConfigError
The document configuration is incorrect.
MissingProvider
No provider was specified for the document run.
ChainCompileError
An error occurred while compiling a chain of actions.
AIRunError
An error occurred while running an AI model.
UnsupportedProviderResponseType
The provider returned an unsupported response type.
AIProviderConfigError
The AI provider configuration is incorrect.
EvaluationRunMissingProviderLog
Missing provider log for evaluation run.
EvaluationRunMissingWorkspace
Missing workspace for evaluation run.
EvaluationRunUnsupportedResultType
The result type is unsupported for evaluation run.
EvaluationRunResponseJsonFormat
The response JSON format was invalid for evaluation run.
Trait Implementations§
Source§impl Debug for RunErrorCodes
impl Debug for RunErrorCodes
Auto Trait Implementations§
impl Freeze for RunErrorCodes
impl RefUnwindSafe for RunErrorCodes
impl Send for RunErrorCodes
impl Sync for RunErrorCodes
impl Unpin for RunErrorCodes
impl UnwindSafe for RunErrorCodes
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more