Automattic\WooCommerce\StoreApi\Exceptions

RouteException::getErrorCode │ public │ WC 1.0

Returns the error code.

Method of the class: RouteException{}

No Hooks.

Returns

string.

Usage

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

RouteException::getErrorCode() code WC 11.2.1

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