WC_Data_Exception::getErrorCode()
Returns the error code.
Method of the class: WC_Data_Exception{}
No Hooks.
Return
String
.
Usage
$WC_Data_Exception = new WC_Data_Exception(); $WC_Data_Exception->getErrorCode();
WC_Data_Exception::getErrorCode() WC Data Exception::getErrorCode code WC 8.7.0
public function getErrorCode() { return $this->error_code; }