WordPress at Your Fingertips
function is not described

Automattic\WooCommerce\Blocks\StoreApi\Routes

RouteException::getErrorCode() public WC 1.0

Returns the error code.

{} It's a method of the class: RouteException{}

No Hooks.

Return

String.

Usage

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

Code of RouteException::getErrorCode() WC 5.6.0

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