Lines Matching refs:error
81 $error = $this->getFullError();
83 if (!$error) {
87 if (\is_string($error)) {
88 return $error;
91 $rootError = $error['root_cause'][0] ?? $error;
98 if (isset($error['reason']) && $rootError['reason'] !== $error['reason']) {
99 $message .= ' [reason: '.$error['reason'].']';
108 * In case of http://localhost:9200/_alias/test the error is a string
110 * @return array|string|null Error data or null if there is no error
116 return $response['error'] ?? null;
120 * @return string Error string based on the error object
128 * True if response has error.
130 * @return bool True if response has error
136 return isset($response['error']);