Skip to content

Commit

Permalink
Added Exceptions documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
nbibler committed May 24, 2008
1 parent fa4ede7 commit cbc9532
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions README.rdoc
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,19 @@ Devpay.active? 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
Expand Down

0 comments on commit cbc9532

Please sign in to comment.