error_code = '' !== $error_code ? $error_code : self::DEFAULT_CODE; } /** * Get the machine-readable error code. * * @return string * @since 1.5.0 */ public function get_error_code() { return $this->error_code; } }