Skip to content

v5.0.0

Compare
Choose a tag to compare
@jjholmes927 jjholmes927 released this 18 Aug 10:49
· 259 commits to master since this release
34d49e6

Introducing 3 new exceptions all inheriting from the InvalidApiUsageException class, with the aim of being more specific when an error occurs.

These exceptions replace the InvalidApiUsageException class in the following response code types and may be handled in the following cases:

  1. 401s will give AuthenticationFailedException instead of InvalidApiUsageException
  2. 403s will give InsufficientPermissionsException instead of InvalidApiUsageException
  3. 429s will give RateLimitReachedException instead of InvalidApiUsageException