The following line (currently line 613 in lib/memcached/memcached.rb) will attempt to raise nil if EXCEPTIONS[ret] doesn't exist, which results in a TypeError: "exception class/object expected". I'd like to submit a patch that will instead raise a more informative Memcached::Error that includes the unexpected code in the message.
The following line (currently line 613 in lib/memcached/memcached.rb) will attempt to raise nil if EXCEPTIONS[ret] doesn't exist, which results in a TypeError: "exception class/object expected". I'd like to submit a patch that will instead raise a more informative Memcached::Error that includes the unexpected code in the message.