Chris Simpson
bc156af4e6
maint: Fixing the use of the binary formatter in net461 so all unit tests now pass. ( #2535 )
2022-08-09 09:04:06 -05:00
Chris Simpson
651d9818c7
ci(build): Fixes a number of warnings for a cleaner build ( #2529 )
...
* Fixing a number of warnings for a cleaner build
* Removing extra Summary slashes
2022-08-08 10:20:37 -05:00
Diogo Rolo
4f4ef5ba73
Fix null reference access when ContentType is null ( #2501 )
2022-07-21 16:36:02 -05:00
Brendan Forster
287861e4a7
rewrite the setup of responses to use a standard helper function ( #2177 )
2020-04-14 11:30:15 -03:00
Mickaël Derriey
13d5dab516
Port to .NET Core ( #1503 )
...
Port to .NET Core
2017-01-21 14:42:02 +10:00
Brendan Forster
6bedf1ee9b
just a bit of code cleanup
2016-02-02 10:01:16 +10:30
Anton Sizikov
a7e06c7cd0
Removed custom message format and just print raw body
2015-12-08 10:10:59 +01:00
Anton Sizikov
5ef499686e
Overrided ToString methods for ApiException and ApiError
2015-12-06 19:34:32 +01:00
Brendan Forster
80719c0033
aaaand format the code
2015-11-04 13:38:51 -08:00
Haacked
89e8fdfeaf
Make Response.Body readonly
2015-01-04 19:15:40 -08:00
Haacked
4c8bab20eb
IApiResponse no longer inherits IResponse
2015-01-04 18:58:53 -08:00
Haacked
f9089784f9
Fixing up the defaults a bit
2013-10-18 11:33:21 -07:00
Haacked
c87944c884
Add default messages for custom exceptions
...
Right now, our exception messages come from the API response in most
cases. But if for any reason there isn't one, we supply a default. I
realized these messages might make it to people's logs so it might be
nice to spend time later making them even more useful.
2013-10-18 11:08:56 -07:00
Haacked
a1887837be
Implement 403 exception handling
...
This implements exception handling for the various 403 cases based off
of the Octokit.rb implementation.
https://github.com/octokit/octokit.rb/blob/master/lib/octokit/error.rb
Fixes #85
2013-10-17 22:22:56 -07:00