Automattic\WooCommerce\Internal\ProductAttributesLookup
CLIRunner::error
Show an error message using the WP_CLI text colorization feature.
Method of the class: CLIRunner{}
No Hooks.
Returns
null. Nothing (null).
Usage
// private - for code of main (parent) class only $result = $this->error( $text );
- $text(string) (required)
- Text to show.
CLIRunner::error() CLIRunner::error code WC 10.3.3
private function error( string $text ) {
WP_CLI::error( WP_CLI::colorize( $text ) );
}