Log in
Interface

CouldNotShipExceptionInterface

Magento\Sales\Api\Exception\CouldNotShipExceptionInterface

What it does

This is a marker interface used to identify exceptions that occur when a shipment cannot be created in Magento 2.

Developers should implement this interface when creating custom exceptions related to shipment failures, allowing other parts of the system to catch and handle shipment-specific errors uniformly.

It's part of Magento's API exception hierarchy for the Sales module.