pub enum Error {
}Variants§
Storage(String)
VectorIndex(String)
Embedder(String)
EmbedderProtocol(&'static str)
Llm(String)
Steward(String)
InvalidInput(String)
NotFound(String)
Conflict(String)
Forbidden(String)
v0.8.1 P3: a request was rejected by a policy gate rather than a
data-shape problem. Used today by the per-tenant quota_bytes
enforcement path; the transport layer translates this to a 403
Forbidden in HTTP and the audit log records result = 'forbidden'.
Io(Error)
Serde(Error)
Uuid(Error)
Other(String)
Implementations§
Source§impl Error
impl Error
pub fn storage(msg: impl Into<String>) -> Self
pub fn vector_index(msg: impl Into<String>) -> Self
pub fn embedder(msg: impl Into<String>) -> Self
pub fn llm(msg: impl Into<String>) -> Self
pub fn steward(msg: impl Into<String>) -> Self
pub fn invalid_input(msg: impl Into<String>) -> Self
pub fn not_found(msg: impl Into<String>) -> Self
pub fn conflict(msg: impl Into<String>) -> Self
Trait Implementations§
Source§impl Error for Error
impl Error for Error
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for Error
impl !RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnsafeUnpin for Error
impl !UnwindSafe for Error
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