CouldNotRefundExceptionInterface
Magento\Sales\Api\Exception\CouldNotRefundExceptionInterface
What it does
This interface marks exceptions that occur when a refund operation cannot be completed in Magento's sales system.
Developers should implement this interface when creating custom exceptions related to refund failures, allowing consumers to catch and handle refund-specific errors separately from other exceptions.
It serves as a contract for identifying refund-related errors throughout the sales module.