Automattic\WooCommerce\StoreApi\Exceptions

RouteException::getErrorCodepublicWC 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 9.9.5

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