You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: revert the 'SendGridClient' constructor changes (#1029)
Changes to released public method signatures are breaking changes. This fix reverts the recent constructor changes and replaces the example/tests with usage of `SendGridClientOptions` for passing the `HttpErrorAsException` flag.
Then if an error is thrown due to a failed request, a summary of that error along with a link to the appropriate place in the documentation will be sent back as a JSON object in the Exception Message. You can also deserialize the JSON object as a SendGridErrorResponse. Every error status code returned by the API has its own type of exception (BadRequestException, UnauthorizedException, PayloadTooLargeException, SendGridInternalException, etc.). All the possibles status codes and errors are documented [here](https://sendgrid.com/docs/API_Reference/Web_API_v3/Mail/errors.html).
@@ -77,7 +77,7 @@ Then if an error is thrown due to a failed request, a summary of that error alon
0 commit comments