WC_Data_Exception::getErrorCode │ public │ WC 1.0

Returns the error code.

Method of the class: WC_Data_Exception{}

No Hooks.

Returns

string.

Usage

$WC_Data_Exception = new WC_Data_Exception();
$WC_Data_Exception->getErrorCode();

WC_Data_Exception::getErrorCode() code WC 11.1.2

public function getErrorCode() {
	return $this->error_code;
}