Title: Error code registry. · Issue #119 · python-hyper/hyper · GitHub
Open Graph Title: Error code registry. · Issue #119 · python-hyper/hyper
X Title: Error code registry. · Issue #119 · python-hyper/hyper
Description: Right now if we get an unexpected GOAWAY we print this in the exception hyper.http20.exceptions.ConnectionError: Encountered error 12, extra data b''.. This is fine, but we can do better. We should bring in the error code registry from t...
Open Graph Description: Right now if we get an unexpected GOAWAY we print this in the exception hyper.http20.exceptions.ConnectionError: Encountered error 12, extra data b''.. This is fine, but we can do better. We should...
X Description: Right now if we get an unexpected GOAWAY we print this in the exception hyper.http20.exceptions.ConnectionError: Encountered error 12, extra data b''.. This is fine, but we can do better. W...
Opengraph URL: https://github.com/python-hyper/hyper/issues/119
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Error code registry.","articleBody":"Right now if we get an unexpected GOAWAY we print this in the exception `hyper.http20.exceptions.ConnectionError: Encountered error 12, extra data b''.`. This is fine, but we can do better.\n\nWe should bring in the error code registry from the spec so that we can print something more like this: `hyper.http20.exceptions.ConnectionError: Error INADEQUATE_SECURITY (0xc): Negotiated TLS parameters not acceptable`.\n\nIdeally, the exception itself should be more structured, allowing easy access to numerical error codes, textual error names, long-form error descriptions, and the extra data.\n\nI suspect the format string is roughly going to be `\"Error {s:name} ({d:errno}): {s:long_error}\"`, where `long_error` is the extra data if it's available, and the description from the spec if it's not available.\n","author":{"url":"https://github.com/Lukasa","@type":"Person","name":"Lukasa"},"datePublished":"2015-04-11T15:00:05.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/119/hyper/issues/119"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:bd005d7e-edc4-0614-6f78-7e110e8b9362 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CC58:BAB60:143D96:1A4DB1:696AD6AB |
| html-safe-nonce | 75eac07c754c56d9c400f9591c3a9de0701f6ba67696816b51c73ea3061fc1d8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQzU4OkJBQjYwOjE0M0Q5NjoxQTREQjE6Njk2QUQ2QUIiLCJ2aXNpdG9yX2lkIjoiNDg0OTg3MDc3NTk4OTc1MzUxNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 4ab401c043aff7649c17d2d0fe74d86757e35b7c5a22b76fb4c7960d389c99d3 |
| hovercard-subject-tag | issue:67797112 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python-hyper/hyper/119/issue_layout |
| twitter:image | https://opengraph.githubassets.com/da8b292de634eb26979796378d0199ebf72262fa27334ef49a2018a2356dd460/python-hyper/hyper/issues/119 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/da8b292de634eb26979796378d0199ebf72262fa27334ef49a2018a2356dd460/python-hyper/hyper/issues/119 |
| og:image:alt | Right now if we get an unexpected GOAWAY we print this in the exception hyper.http20.exceptions.ConnectionError: Encountered error 12, extra data b''.. This is fine, but we can do better. We should... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Lukasa |
| hostname | github.com |
| expected-hostname | github.com |
| None | c785f4ce187e9e7331257791b36ddee01625bb8e292a9b4fe2c16d4c006abf5d |
| turbo-cache-control | no-preview |
| go-import | github.com/python-hyper/hyper git https://github.com/python-hyper/hyper.git |
| octolytics-dimension-user_id | 13035907 |
| octolytics-dimension-user_login | python-hyper |
| octolytics-dimension-repository_id | 16165969 |
| octolytics-dimension-repository_nwo | python-hyper/hyper |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 16165969 |
| octolytics-dimension-repository_network_root_nwo | python-hyper/hyper |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | c718a376fcf780eb22089171adb84a543f660bf7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width