CouldNotRefundExceptionInterface
Magento\Sales\Api\Exception\CouldNotRefundExceptionInterface
What it does
This interface serves as a marker for exceptions that occur when a refund operation cannot be completed in Magento 2.
Developers should implement this interface when creating custom exception classes for refund-related errors, allowing the system to identify and handle refund failures consistently.
It's primarily used in service layer implementations dealing with credit memo and refund processing.