Log in
Model

Error

Magento\Shipping\Model\Tracking\Result\Error

What it does

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

Developers encounter this when a shipping carrier cannot provide tracking details, allowing the system to gracefully handle tracking lookup failures and display a user-friendly error message instead of crashing.

Public Methods

  • getAllData()
  • getErrorMessage()