pub enum SkuError {
Empty,
}Expand description
SKU validation errors that keep catalog, stock, and reorder records traceable.
Variants§
Empty
Rejects blank catalog/POS SKU values so inventory and reorder facts remain traceable.
Trait Implementations§
Source§impl Error for SkuError
impl Error for SkuError
1.30.0 · 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()
impl Copy for SkuError
impl Eq for SkuError
impl StructuralPartialEq for SkuError
Auto Trait Implementations§
impl Freeze for SkuError
impl RefUnwindSafe for SkuError
impl Send for SkuError
impl Sync for SkuError
impl Unpin for SkuError
impl UnsafeUnpin for SkuError
impl UnwindSafe for SkuError
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