Title: sendgrid-python should define it's own Error class · Issue #315 · sendgrid/sendgrid-python · GitHub
Open Graph Title: sendgrid-python should define it's own Error class · Issue #315 · sendgrid/sendgrid-python
X Title: sendgrid-python should define it's own Error class · Issue #315 · sendgrid/sendgrid-python
Description: Issue Summary related to sendgrid/python-http-client#16 Crurently if an application/library consumes sendgrid-python and an API request surfaces a HTTP error, it raises a urllib HTTPError. Now, in order to handle this specific error, the...
Open Graph Description: Issue Summary related to sendgrid/python-http-client#16 Crurently if an application/library consumes sendgrid-python and an API request surfaces a HTTP error, it raises a urllib HTTPError. Now, in ...
X Description: Issue Summary related to sendgrid/python-http-client#16 Crurently if an application/library consumes sendgrid-python and an API request surfaces a HTTP error, it raises a urllib HTTPError. Now, in ...
Opengraph URL: https://github.com/sendgrid/sendgrid-python/issues/315
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"sendgrid-python should define it's own Error class","articleBody":"#### Issue Summary\r\n\r\nrelated to https://github.com/sendgrid/python-http-client/issues/16\r\n\r\nCrurently if an application/library consumes sendgrid-python and an API request surfaces a HTTP error, it raises a urllib HTTPError.\r\n\r\nNow, in order to handle this specific error, the consuming application needs to import urllib. \r\n\r\nIdeally, a consuming application only needs to know about sendgrid-python and not the underlying implementation of python-http-client or urllib in order to handle common place http errors.\r\n\r\n#### Steps to Reproduce\r\n\r\n1. make an api call that returns anything other than HTTP2xx\r\n2. attempt to handle error raised without importing urllib and without doing a catch all.\r\n\r\n\r\n\r\n#### Technical details:\r\n\r\n* sendgrid-python Version: master (latest commit: [commit number])\r\n* Python Version: all","author":{"url":"https://github.com/w-","@type":"Person","name":"w-"},"datePublished":"2017-05-20T06:48:20Z","url":"https://github.com/sendgrid/sendgrid-python/issues/315"}
| 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:5d44ee62-678c-f7d3-407b-4784ee9baa2c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A898:23CF06:2ED15C3:3BA746C:6B01B1A1 |
| html-safe-nonce | b9f493cf00c95163fda546dc714ab85ebdccc308e4217cd1ee04d35b45566da6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBODk4OjIzQ0YwNjoyRUQxNUMzOjNCQTc0NkM6NkIwMUIxQTEiLCJ2aXNpdG9yX2lkIjoiMzQwNzEyMTA2MDA0OTU2NDA2NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | b35a188bfed90d7e8aeb7d3ab0e64b02466ff7c2b83fcc0ea5730e351a52d2b2 |
| hovercard-subject-tag | issue:230135033 |
| 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/sendgrid/sendgrid-python/315/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1fb5b53353db01ae6b5ea440f688bf26c665974bf603ec8c6f5461e640dcd863/sendgrid/sendgrid-python/issues/315 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1fb5b53353db01ae6b5ea440f688bf26c665974bf603ec8c6f5461e640dcd863/sendgrid/sendgrid-python/issues/315 |
| og:image:alt | Issue Summary related to sendgrid/python-http-client#16 Crurently if an application/library consumes sendgrid-python and an API request surfaces a HTTP error, it raises a urllib HTTPError. Now, in ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | w- |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/sendgrid/sendgrid-python git https://github.com/sendgrid/sendgrid-python.git |
| octolytics-dimension-user_id | 181234 |
| octolytics-dimension-user_login | sendgrid |
| octolytics-dimension-repository_id | 3546794 |
| octolytics-dimension-repository_nwo | sendgrid/sendgrid-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3546794 |
| octolytics-dimension-repository_network_root_nwo | sendgrid/sendgrid-python |
| 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 | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width