WC_API_Exception::getErrorCode()
Returns the error code
Method of the class: WC_API_Exception{}
No Hooks.
Return
String
.
Usage
$WC_API_Exception = new WC_API_Exception(); $WC_API_Exception->getErrorCode();
Changelog
Since 2.2 | Introduced. |
WC_API_Exception::getErrorCode() WC API Exception::getErrorCode code WC 8.7.0
public function getErrorCode() { return $this->error_code; }