WordPress at Your Fingertips
function is not described

WC_REST_Authentication::get_error() protected WC 1.0

Get authentication error.

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

No Hooks.

Return

WP_Error|null..

Usage

// protected - for code of main (parent) or child class
$result = $this->get_error();

Code of WC_REST_Authentication::get_error() WC 5.9.0

protected function get_error() {
	return $this->error;
}