Title: Error handling · Issue #7 · purescript-node/purescript-node-http · GitHub
Open Graph Title: Error handling · Issue #7 · purescript-node/purescript-node-http
X Title: Error handling · Issue #7 · purescript-node/purescript-node-http
Description: It seems there is no way to attach error handlers to HTTP servers. Am I missing something? E.g. the equivalent of the following JS: var s = http.createServer(h); s.on('error', function(err) { console.log('oops!', err); }); s.listen(9000)...
Open Graph Description: It seems there is no way to attach error handlers to HTTP servers. Am I missing something? E.g. the equivalent of the following JS: var s = http.createServer(h); s.on('error', function(err) { conso...
X Description: It seems there is no way to attach error handlers to HTTP servers. Am I missing something? E.g. the equivalent of the following JS: var s = http.createServer(h); s.on('error', function(err)...
Opengraph URL: https://github.com/purescript-node/purescript-node-http/issues/7
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Error handling","articleBody":"It seems there is no way to attach error handlers to HTTP servers. Am I missing something?\n\nE.g. the equivalent of the following JS:\n\n```\nvar s = http.createServer(h);\ns.on('error', function(err) { console.log('oops!', err); });\ns.listen(9000); // in case of failure, will call the above callback\n```\n","author":{"url":"https://github.com/no-longer-on-githu-b","@type":"Person","name":"no-longer-on-githu-b"},"datePublished":"2016-07-21T14:19:13Z","url":"https://github.com/purescript-node/purescript-node-http/issues/7"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:452f0d2d-cae5-ffee-0b0d-4304fceb5748 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C3C4:2B0A42:246B:3311:6AFC3D6E |
| html-safe-nonce | 4c5b7a2ecd6891097a329838dd2983d7724dc5048def2e69392aec518ed04638 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDM0M0OjJCMEE0MjoyNDZCOjMzMTE6NkFGQzNENkUiLCJ2aXNpdG9yX2lkIjoiMjQ4MjE2NTkwMTEzOTEzMTc1OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | bfb78241140dd5c9a8b1e0340c564494fbd8a5a6d4ca78a20a006b4f701938ed |
| hovercard-subject-tag | issue:166830917 |
| 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/purescript-node/purescript-node-http/7/issue_layout |
| twitter:image | https://opengraph.githubassets.com/65c9ea978656cd9834eba9c5698897e8ccae5cdf43e8b75c83c1222769951c76/purescript-node/purescript-node-http/issues/7 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/65c9ea978656cd9834eba9c5698897e8ccae5cdf43e8b75c83c1222769951c76/purescript-node/purescript-node-http/issues/7 |
| og:image:alt | It seems there is no way to attach error handlers to HTTP servers. Am I missing something? E.g. the equivalent of the following JS: var s = http.createServer(h); s.on('error', function(err) { conso... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | no-longer-on-githu-b |
| hostname | github.com |
| expected-hostname | github.com |
| None | 416f613149c3c155bda450dca0f4a86dadbf219de68d2ef289e11bd8fb16a09a |
| turbo-cache-control | no-preview |
| go-import | github.com/purescript-node/purescript-node-http git https://github.com/purescript-node/purescript-node-http.git |
| octolytics-dimension-user_id | 12017641 |
| octolytics-dimension-user_login | purescript-node |
| octolytics-dimension-repository_id | 43017993 |
| octolytics-dimension-repository_nwo | purescript-node/purescript-node-http |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 43017993 |
| octolytics-dimension-repository_network_root_nwo | purescript-node/purescript-node-http |
| 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 | 7a2dd4f6efb22c1374c731bfd8f3a53f89a38a58 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width