Skip to content
Browse files

Added Exceptions documentation

  • Loading branch information...
1 parent fa4ede7 commit cbc95329c6fc5832af9529845e0252b6e2ba1873 @nbibler committed
Showing with 13 additions and 0 deletions.
  1. +13 −0 README.rdoc
13 README.rdoc
@@ -136,6 +136,19 @@ for more information.
=== Notable, Miscellaneous Information
+==== Raised Exceptions
+All exceptions raised by this plugin inherit from Devpay::Error (a type of
+Exception). So, in general, a
+ rescue Devpay::Error => e
+ puts "Devpay had a problem: #{e.class} '#{e.message}'"
+Should catch any and all problems raised through the use of this plugin.
+More specific errors are nearly always raised, however. Nearly a hundred
+more specific errors are not publicly documented, but can be found in
+lib/errors/errors.rb and lib/errors/license_service/errors.rb.
==== Request Throttling
The Amazon License Service (used for activating and verifying DevPay

0 comments on commit cbc9532

Please sign in to comment.
Something went wrong with that request. Please try again.