Model
Error
Magento\Sales\Model\Reorder\Data\Error
What it does
This class serves as a Data Transfer Object (DTO) that represents error information during order reorder operations.
Developers use it to encapsulate error messages and codes when reorder validation fails or issues occur, making it easy to pass structured error data between different parts of the reorder process.
Public Methods
- getMessage()
- getCode()