feat(rust-ocr): add UnsupportedProvider core error

This commit is contained in:
Ishaan Jaffer 2026-06-23 14:16:19 -07:00
parent a9185522e0
commit e8eca699c9
No known key found for this signature in database

View file

@ -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}")]