CartController::get_cart_item_errors()
Validate all items in the cart and get a list of errors.
Description Description
Return Return
(WP_Error[]) An array of WP_Errors describing the cart's error state.
Source Source
File: packages/woocommerce-blocks/src/StoreApi/Utilities/CartController.php