Commit Graph

10 Commits

Author SHA1 Message Date
Chris Simpson
176bf386a0 maint: Tidying up DefineConstants (#2538) 2022-08-12 12:19:26 -05:00
Jose de Jesus Medina
66a6781584 spellcheck round 2 (#2259) 2020-10-06 09:47:36 -03:00
Fredrik Høisæther Rasch
af74ae8e20 Add Server Time Difference to ApiInfo (#2196) 2020-06-07 18:25:34 -03:00
Itai Bar-Haim
4e804f61a6 Prefer using nameof(x) over literal "x" (#1781)
* updated XML docs and added some missing bits.

* prefer nameof(x) over literal "x"
2018-03-07 20:43:10 +10:00
Mickaël Derriey
13d5dab516 Port to .NET Core (#1503)
Port to .NET Core
2017-01-21 14:42:02 +10:00
Mordechai Zuber
4be25ba8bd Add missing SecurityCritical attribute
Fixes #1471
2016-10-13 15:54:27 +03:00
Brendan Forster
3be89e7c01 document a bunch of the Exceptions namespace 2015-01-03 09:30:05 -08:00
Haacked
14ad942ea8 RateLimit class encapsulates rate limit headers
Added a RateLimit class to encapsulate pulling rate limit information
from the headers. This is now exposed by ApiInfo as well as the
RateLimitExceeededException. That way these two classes are not grabbing
the same information in different ways which we were doing before.
2013-10-18 14:49:00 -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