CARVIEW |
Select Language
HTTP/2 200
date: Tue, 22 Jul 2025 23:47:01 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-repository-download: git clone https://github.com/neo4j/neo4j-javascript-driver.git
etag: W/"f472b0eec9880e3d8f790b70c6e3af7f"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=%2BHv6C0JYmS%2FWky3ZjZYlseaj7fVOecFXb5OAN%2Fc4UDiy55IXqjI9%2BI3Tv7YwriDWoWLRx%2BaSK9YHRfE414CSFwkkNHN71KwUq%2BJb484VSkuRr7yzOWmt4Db%2BO%2FRZF%2BtJ3zSYlGy6mupWl8thxCsLMbmvwIZN1FKzTBHFWgGOaHZKoeixbyRqC1Gs2XWsBBREp3DGLTMCfrIXX8U9VWEuQplkyJLOEDkl4kEJ%2BKGs5dRUmR2%2BDDVpO6wHoIP1EcCK1iaGTofZGdsKciAjSdDYaw%3D%3D--T%2BsNBjQi32wPRfqi--AMmod37eE%2B97OTDEHVSXUg%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.387251527.1753228020; Path=/; Domain=github.com; Expires=Wed, 22 Jul 2026 23:47:00 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Wed, 22 Jul 2026 23:47:00 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: 8F92:941DF:1D1A50:282EC5:688022F4
Add support for error cause in Neo4jError and Routing errors (#960) · neo4j/neo4j-javascript-driver@551f51c · GitHub
Copy file name to clipboardExpand all lines: packages/bolt-connection/src/connection-provider/connection-provider-routing.js
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 152
Commit 551f51c
Add support for error cause in Neo4jError and Routing errors (#960)
Root causes of routing issue were suppressed by the routing error message.
This change enables the `Neo4jError` object use the `cause` property for giving more context about the error. This
also improves the routing error by making use of the error `cause`.
`Error.cause` is a new feature in JS, see which runtime already implemented it:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error/Error
Co-authored-by: Robsdedude <dev@rouvenbauer.de>1 parent a582fd6 commit 551f51cCopy full SHA for 551f51c
File tree
Expand file treeCollapse file tree
4 files changed
+162
-108
lines changedFilter options
- packages
- bolt-connection
- src/connection-provider
- test/connection-provider
- core
- src
- test
Expand file treeCollapse file tree
4 files changed
+162
-108
lines changedpackages/bolt-connection/src/connection-provider/connection-provider-routing.js
Copy file name to clipboardExpand all lines: packages/bolt-connection/src/connection-provider/connection-provider-routing.js+33-26Lines changed: 33 additions & 26 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
121 | 121 |
| |
122 | 122 |
| |
123 | 123 |
| |
124 |
| - | |
| 124 | + | |
| 125 | + | |
125 | 126 |
| |
126 | 127 |
| |
127 | 128 |
| |
| |||
345 | 346 |
| |
346 | 347 |
| |
347 | 348 |
| |
348 |
| - | |
| 349 | + | |
349 | 350 |
| |
350 | 351 |
| |
351 | 352 |
| |
| |||
357 | 358 |
| |
358 | 359 |
| |
359 | 360 |
| |
360 |
| - | |
| 361 | + | |
361 | 362 |
| |
362 | 363 |
| |
363 | 364 |
| |
364 | 365 |
| |
365 | 366 |
| |
| 367 | + | |
| 368 | + | |
366 | 369 |
| |
367 | 370 |
| |
368 | 371 |
| |
369 | 372 |
| |
370 | 373 |
| |
371 |
| - | |
| 374 | + | |
| 375 | + | |
372 | 376 |
| |
373 | 377 |
| |
374 | 378 |
| |
| |||
379 | 383 |
| |
380 | 384 |
| |
381 | 385 |
| |
382 |
| - | |
| 386 | + | |
383 | 387 |
| |
384 | 388 |
| |
385 | 389 |
| |
| |||
388 | 392 |
| |
389 | 393 |
| |
390 | 394 |
| |
391 |
| - | |
| 395 | + | |
392 | 396 |
| |
393 | 397 |
| |
394 | 398 |
| |
| |||
400 | 404 |
| |
401 | 405 |
| |
402 | 406 |
| |
403 |
| - | |
| 407 | + | |
| 408 | + | |
404 | 409 |
| |
405 | 410 |
| |
406 | 411 |
| |
| |||
410 | 415 |
| |
411 | 416 |
| |
412 | 417 |
| |
413 |
| - | |
| 418 | + | |
414 | 419 |
| |
415 | 420 |
| |
416 | 421 |
| |
| |||
419 | 424 |
| |
420 | 425 |
| |
421 | 426 |
| |
422 |
| - | |
| 427 | + | |
423 | 428 |
| |
424 | 429 |
| |
425 | 430 |
| |
| |||
431 | 436 |
| |
432 | 437 |
| |
433 | 438 |
| |
434 |
| - | |
| 439 | + | |
435 | 440 |
| |
436 | 441 |
| |
437 | 442 |
| |
| |||
460 | 465 |
| |
461 | 466 |
| |
462 | 467 |
| |
463 |
| - | |
| 468 | + | |
464 | 469 |
| |
465 | 470 |
| |
466 |
| - | |
| 471 | + | |
467 | 472 |
| |
468 | 473 |
| |
469 | 474 |
| |
470 |
| - | |
| 475 | + | |
471 | 476 |
| |
472 | 477 |
| |
473 | 478 |
| |
| |||
480 | 485 |
| |
481 | 486 |
| |
482 | 487 |
| |
483 |
| - | |
| 488 | + | |
484 | 489 |
| |
485 | 490 |
| |
486 | 491 |
| |
487 | 492 |
| |
488 | 493 |
| |
489 | 494 |
| |
490 |
| - | |
| 495 | + | |
491 | 496 |
| |
492 | 497 |
| |
493 | 498 |
| |
494 | 499 |
| |
495 |
| - | |
| 500 | + | |
496 | 501 |
| |
497 | 502 |
| |
498 | 503 |
| |
| |||
501 | 506 |
| |
502 | 507 |
| |
503 | 508 |
| |
504 |
| - | |
| 509 | + | |
505 | 510 |
| |
506 | 511 |
| |
507 |
| - | |
| 512 | + | |
508 | 513 |
| |
509 | 514 |
| |
510 | 515 |
| |
| |||
522 | 527 |
| |
523 | 528 |
| |
524 | 529 |
| |
525 |
| - | |
| 530 | + | |
526 | 531 |
| |
527 | 532 |
| |
528 | 533 |
| |
529 |
| - | |
| 534 | + | |
530 | 535 |
| |
531 | 536 |
| |
532 |
| - | |
| 537 | + | |
533 | 538 |
| |
534 | 539 |
| |
535 | 540 |
| |
536 | 541 |
| |
537 | 542 |
| |
538 |
| - | |
| 543 | + | |
539 | 544 |
| |
540 | 545 |
| |
541 | 546 |
| |
| |||
548 | 553 |
| |
549 | 554 |
| |
550 | 555 |
| |
551 |
| - | |
| 556 | + | |
| 557 | + | |
552 | 558 |
| |
553 | 559 |
| |
554 | 560 |
| |
555 | 561 |
| |
556 | 562 |
| |
557 |
| - | |
| 563 | + | |
558 | 564 |
| |
559 | 565 |
| |
560 |
| - | |
| 566 | + | |
561 | 567 |
| |
562 | 568 |
| |
563 | 569 |
| |
564 | 570 |
| |
565 |
| - | |
| 571 | + | |
| 572 | + | |
566 | 573 |
| |
567 | 574 |
| |
568 | 575 |
| |
|
You can’t perform that action at this time.
0 commit comments