Changed error classes to inherit from StandardError instead of Exception.

This should make them easier to use with irb.
This commit is contained in:
blackhedd 2007-09-04 12:07:35 +00:00
parent 6e53144090
commit b828ff52cf
5 changed files with 7 additions and 4 deletions

View file

@ -94,7 +94,7 @@ module Net
end
class SnmpPdu
class Error < Exception; end
class Error < StandardError; end
PduTypes = [
:get_request,