pub enum FabricError {
NotFound(String),
BadRequest(String),
Internal(String),
}Expand description
Typed error so callers (HTTP / agent tool) can map to the right status/kind.
Variants§
Trait Implementations§
Source§impl Debug for FabricError
impl Debug for FabricError
Auto Trait Implementations§
impl Freeze for FabricError
impl RefUnwindSafe for FabricError
impl Send for FabricError
impl Sync for FabricError
impl Unpin for FabricError
impl UnsafeUnpin for FabricError
impl UnwindSafe for FabricError
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