Model
Fault
Magento\Webapi\Model\Soap\Fault
What it does
This class handles SOAP fault responses for Magento 2's Web API.
It converts exceptions into properly formatted SOAP fault XML messages, including error details, parameters, and stack traces (in developer mode).
Developers use this to understand how API errors are formatted and returned to SOAP clients.
Public Methods
- toXml()
- getParameters()
- getWrappedErrors()
- addDetails()
- getDetails()
- getSoapCode()
- getLanguage()
- getMessage()
- getSoapFaultMessage()