WC_API_Exception::getErrorCode() public WC 2.2
Returns the error code
{} It's a 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. |
Code of WC_API_Exception::getErrorCode() WC API Exception::getErrorCode WC 5.0.0
public function getErrorCode() {
return $this->error_code;
}