Automattic\WooCommerce\Internal\Admin\Settings\Exceptions
ApiException::getErrorCode
Returns the error code.
Method of the class: ApiException{}
No Hooks.
Returns
String. The machine-readable error code.
Usage
$ApiException = new ApiException(); $ApiException->getErrorCode(): string;
ApiException::getErrorCode() ApiException::getErrorCode code WC 10.7.0
public function getErrorCode(): string {
return $this->error_code;
}