Commit d10a458
committed
feat(connection): add client info retrieval and improved error handling
- Introduced `getClientInfo` method to retrieve Elasticsearch client information.
- Added `AuthenticationException` for better error handling during connection build.
- Configured connection name dynamically instead of hardcoding.
- Enhanced docstrings for connection validation and builder options.
- Implemented new tests for prefix handling and client info retrieval.
- Refactored existing tests to use `expect` instead of `$this->assertInstanceOf`.
Who needs a crystal ball when you have comprehensive client info? 🔮1 parent 8a1967e commit d10a458
1 file changed
+5
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
288 | 288 | | |
289 | 289 | | |
290 | 290 | | |
291 | | - | |
292 | 291 | | |
293 | | - | |
294 | | - | |
| 292 | + | |
| 293 | + | |
295 | 294 | | |
296 | | - | |
297 | 295 | | |
298 | 296 | | |
| 297 | + | |
299 | 298 | | |
300 | 299 | | |
301 | | - | |
| 300 | + | |
302 | 301 | | |
303 | 302 | | |
304 | 303 | | |
| 304 | + | |
305 | 305 | | |
306 | 306 | | |
307 | 307 | | |
| |||
0 commit comments