Log in
Model

Error

Magento\Shipping\Model\Tracking\Result\Error

What it does

This class represents an error result when tracking shipment information fails in Magento 2.

Developers use this class to handle cases where shipping carrier tracking data cannot be retrieved, providing a standardized error message to display to customers when tracking information is unavailable.

Public Methods

  • getAllData()
  • getErrorMessage()