InventoryError
public enum InventoryError : Error
extension InventoryError: LocalizedError
Errors an inventory booking can throw
-
an ambiguous match when trying to reduce the inventory
Declaration
Swift
case ambiguousBooking(String)
-
trying to reduce a lot by more units than it has
Declaration
Swift
case lotNotBigEnough(String)
-
no matching lot to reduce was found
Declaration
Swift
case noLotFound(String)
-
Declaration
Swift
public var errorDescription: String? { get }