WC_REST_Authentication::get_error()
Get authentication error.
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();
WC_REST_Authentication::get_error() WC REST Authentication::get error code WC 7.7.0
protected function get_error() { return $this->error; }