mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-13 23:11:40 +00:00
feat(rust-ocr): add UnsupportedProvider core error
This commit is contained in:
parent
a9185522e0
commit
e8eca699c9
1 changed files with 2 additions and 0 deletions
|
|
@ -15,6 +15,8 @@ pub enum CoreError {
|
|||
InvalidResponse(String),
|
||||
#[error("{0}")]
|
||||
Auth(String),
|
||||
#[error("OCR is not supported for provider: {0}")]
|
||||
UnsupportedProvider(String),
|
||||
#[error("OCR request failed with status {status}: {body}")]
|
||||
Http { status: u16, body: String },
|
||||
#[error("OCR network error: {0}")]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue